-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (50 loc) · 1.15 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
57
services:
api:
image: 574099924710.dkr.ecr.eu-central-1.amazonaws.com/attendence-taker-api:db5758a38922bceb073ac500d5152429be34a2e1
networks:
- app-network
depends_on:
- postgres
- redis
env_file: .env
desktop:
image: 574099924710.dkr.ecr.eu-central-1.amazonaws.com/attendence-taker-desktop:db5758a38922bceb073ac500d5152429be34a2e1
networks:
- app-network
mobile:
image: 574099924710.dkr.ecr.eu-central-1.amazonaws.com/attendence-taker-mobile:db5758a38922bceb073ac500d5152429be34a2e1
networks:
- app-network
nginx:
image: nginx:latest
ports:
- '80:80'
volumes:
- ./nginx-compose.conf:/etc/nginx/conf.d/default.conf
depends_on:
- api
- desktop
- mobile
networks:
- app-network
postgres:
image: postgres:13
env_file: .env
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- app-network
redis:
image: redis:latest
networks:
- app-network
volumes:
- redis_data:/data
networks:
app-network:
driver: bridge
volumes:
postgres_data:
redis_data: