forked from vasylmalik/project-final
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (43 loc) · 789 Bytes
/
docker-compose.yaml
File metadata and controls
47 lines (43 loc) · 789 Bytes
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
services:
db:
image: postgres
container_name: postgres
env_file:
- ./secrets.env
ports:
- "5433:5432"
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- app_network
app:
build:
context: .
dockerfile: Dockerfile
container_name: app
env_file:
- ./secrets.env
ports:
- "8080:8080"
depends_on:
- db
networks:
- app_network
nginx:
image: nginx:latest
container_name: nginx
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
- ./resources/static:/opt/jirarush/resources/static
ports:
- "80:80"
depends_on:
- app
networks:
- app_network
networks:
app_network:
driver: bridge
volumes:
pgdata:
driver: local