-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.prod.yml
64 lines (59 loc) · 1.2 KB
/
docker-compose.prod.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
58
59
60
61
62
63
64
version: "3.9"
services:
postgres:
container_name: postgres
image: postgres:latest
restart: always
ports:
- "5435:5432"
logging:
options:
max-size: 10m
max-file: "3"
volumes:
- ./packages/backend/data/postgres:/var/lib/postgresql/data
env_file:
- ./packages/backend/.env.production
networks:
- aqa
pgadmin:
restart: always
links:
- postgres:postgres
container_name: pgadmin
image: dpage/pgadmin4
ports:
- "8080:80"
volumes:
- ./packages/backend/data/pgadmin:/var/lib/pgadmin
env_file:
- ./packages/backend/.env.production
networks:
- aqa
backend:
build:
context: ./packages/backend
restart: always
container_name: backend
image: sskorol/aqa-be:0.0.2
ports:
- "9090:9090"
env_file:
- ./packages/backend/.env.production
networks:
- aqa
frontend:
build:
context: ./packages/frontend
env_file:
- ./packages/frontend/.env.production
restart: always
container_name: frontend
image: sskorol/aqa-fe:0.0.2
ports:
- "3000:80"
networks:
- aqa
networks:
aqa:
driver: bridge