-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (59 loc) · 1.25 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
58
59
60
61
62
63
64
services:
nginx:
image: nginx:1.25.4
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./nginx/config/conf.d:/etc/nginx/conf.d
- ./nginx/cert:/etc/nginx/cert
- ./nginx/common:/etc/nginx/common
- ${NGINX_CONF_FILE}:/etc/nginx/conf.d/default.conf:ro
- rndsillog:/shared
container_name: rndsillog_nginx
platform: "linux/amd64"
ports:
- "80:80"
- "443:443"
depends_on:
- frontend
- backend
- githubworker
networks:
- front
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
env_file:
- .env
backend:
build:
context: ../indulgentia-back/.
container_name: back
volumes:
- rndsillog:/shared
restart: unless-stopped
networks:
- front
frontend:
build:
context: ../indulgentia-front/.
volumes:
- rndsillog:/shared
container_name: front
restart: unless-stopped
networks:
- front
githubworker:
build:
context: ../indulgentia-github/.
volumes:
- rndsillog:/shared
container_name: github
restart: unless-stopped
networks:
- front
networks:
front:
external: true
volumes:
rndsillog:
external: true