mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-03 14:18:46 +00:00
42 lines
948 B
YAML
42 lines
948 B
YAML
![]() |
version: "3"
|
||
|
services:
|
||
|
backend:
|
||
|
image: deepset/haystack-annotation:latest
|
||
|
container_name: haystack-annotation
|
||
|
environment:
|
||
|
DEFAULT_ADMIN_EMAIL: "example@example.com"
|
||
|
DEFAULT_ADMIN_PASSWORD: "DEMO_PASSWORD"
|
||
|
NODE_ENV: "production"
|
||
|
PROD_DB_HOSTNAME: "db"
|
||
|
PROD_DB_NAME: "databasename"
|
||
|
PROD_DB_USERNAME: "somesafeuser"
|
||
|
PROD_DB_PASSWORD: "somesafepassword"
|
||
|
ports:
|
||
|
- "7001:7001"
|
||
|
links:
|
||
|
- "db:database"
|
||
|
depends_on:
|
||
|
- db
|
||
|
networks:
|
||
|
- app-network
|
||
|
restart: unless-stopped
|
||
|
|
||
|
db:
|
||
|
image: "postgres:12"
|
||
|
container_name: "postgres"
|
||
|
environment:
|
||
|
POSTGRES_USER: "somesafeuser"
|
||
|
POSTGRES_PASSWORD: "somesafepassword"
|
||
|
POSTGRES_DB: "databasename"
|
||
|
ports:
|
||
|
- "5432:5432"
|
||
|
volumes:
|
||
|
- ./postgres-data:/var/lib/psql/data
|
||
|
networks:
|
||
|
- app-network
|
||
|
restart: unless-stopped
|
||
|
|
||
|
networks:
|
||
|
app-network:
|
||
|
driver: bridge
|