Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.6"
- services:
- redis:
- image: redis
- pgsql:
- image: postgres:11-alpine
- restart: always
- environment:
- POSTGRES_PASSWORD: botpress
- POSTGRES_USER: botpress
- POSTGRES_DB: botpress
- volumes:
- - ./pgsql:/var/lib/postgresql/data
- duckling:
- image: botpress/server:v12_19_1
- #command: bash -c "./duckling -p 8000 & ./bp lang --langDir /botpress/lang --port 3100"
- command: bash -c "./duckling -p 8000 & ./bp lang --readOnly --langDir /botpress/lang --port 3100"
- volumes:
- - ./duckling:/botpress/lang
- server:
- image: botpress/server:v12_19_1
- ports:
- - 8080:8080
- depends_on:
- - pgsql
- - duckling
- - redis
- volumes:
- - ./data:/botpress/data
- - ./modules:/botpress/modules
- environment:
- - PORT=8080
- - BP_CONFIG_HTTPSERVER_HOST=0.0.0.0
- - NODE_ENV=production
- - DATABASE_URL=postgres://botpress:botpress@pgsql:5432/botpress
- - BPFS_STORAGE=database
- - CLUSTER_ENABLED=false
- - REDIS_URL=redis://redis:6379
- - BP_MODULE_NLU_DUCKLINGURL=http://duckling:8000
- - BP_MODULE_NLU_LANGUAGESOURCES=[{"endpoint":"http://duckling:3100"}]
Advertisement
Add Comment
Please, Sign In to add comment