-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.07 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
version: '3.8'
services:
postgresql:
image: postgres:latest
container_name: postgresql
environment:
POSTGRES_DB: root
POSTGRES_USER: root
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
volumes:
- ./data/postgresql/:/var/lib/postgresql/data
shelter-client:
container_name: shelter-client
build:
context: ./apps/shelter-client
dockerfile: Dockerfile
ports:
- '3000:3000'
shelter-gateway:
container_name: shelter-gateway
build:
context: .
dockerfile: ./apps/shelter-gateway/Dockerfile
env_file:
- ./.env
depends_on:
- postgresql
ports:
- '8000:8000'
shelter-accounts:
container_name: shelter-accounts
build:
context: .
dockerfile: ./apps/shelter-accounts/Dockerfile
env_file:
- ./.env
depends_on:
- postgresql
ports:
- '8001:8001'
shelter-ml:
container_name: shelter-ml
build:
context: ./apps/shelter-ml
dockerfile: Dockerfile
env_file:
- ./.env
ports:
- '8008:8008'