-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-local.yml
54 lines (49 loc) · 1.29 KB
/
docker-compose-local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
botpress:
build:
context: .
dockerfile: Dockerfile
#command: bash -c "./duckling & ./bp lang --offline --dim 100 --langDir /botpress & ./bp"
container_name: botpress
ports:
- "3000:3000"
- "8000:8000"
- "3100:3100"
environment:
BOTPRESS_ADMIN_EMAIL: ${BOTPRESS_ADMIN_EMAIL}
BOTPRESS_ADMIN_PASSWORD: ${BOTPRESS_ADMIN_PASSWORD}
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
depends_on:
- postgres
restart: always
volumes:
- ./data:/botpress/data
postgres:
image: postgres:16.2
container_name: postgres_db_bp
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
restart: always
pgadmin:
image: dpage/pgadmin4:8.8
container_name: pgadmin
ports:
- "5050:80"
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
restart: always
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- postgres
volumes:
postgres_data:
pgadmin_data:
botpress_data: