-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (44 loc) · 972 Bytes
/
docker-compose.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
version: '3.8'
services:
postgres:
image: postgres:16.0-alpine
container_name: postgres
env_file: config/botcamp.env
volumes:
- "./postgres/data:/var/lib/postgresql/data"
ports:
- "7501:7501"
pgadmin:
image: dpage/pgadmin4:7.8
container_name: pgadmin
env_file: config/pgadmin.env
volumes:
- "./postgres/pgadmin-data:/var/lib/pgadmin"
depends_on:
- postgres
ports:
- "7502:80"
botcamp-api:
depends_on:
- gmail-gateway-api
- postgres
container_name: botcamp-api
build:
context: ./botcamp-api/
dockerfile: ./Dockerfile
ports:
- '7510:7510'
environment:
- SLEEP_ENABLED=true
gmail-gateway-api:
depends_on:
- postgres
container_name: gmail-gateway-api
build:
context: ./gmail-gateway-api/
dockerfile: ./Dockerfile
ports:
- '7500:7500'
- '2424:2424'
environment:
- SLEEP_ENABLED=true