-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
73 lines (65 loc) · 1.86 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
65
66
67
68
69
70
71
72
73
version: "3.7"
# Build the GitWrite (dev branch) with NERVE tool included in the same stack
services:
traefik:
container_name: traefik
image: traefik:v2.10
command:
- --configFile=/etc/traefik/traefik.yml
ports:
- 80:80
- 443:443
networks:
- cwrc-gitwriter
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./container_volumes/traefik/:/etc/traefik
- ./container_volumes/letsencrypt:/var/letsencrypt/
- ./container_volumes/traefik/log/:/var/log/traefik
restart: unless-stopped
gitserver:
container_name: gitserver
image: cwrc/cwrc-gitserver:latest
volumes:
- ./container_volumes/cwrc-gitserver/config/:/apps/CWRC-GitServer/config/
networks:
- cwrc-gitwriter
restart: unless-stopped
gitwriter:
container_name: gitwriter
image: cwrc/cwrc-gitwriter:latest
volumes:
- ./container_volumes/cwrc-gitwriter/config/:/apps/CWRC-GitWriter/build/config/
networks:
- cwrc-gitwriter
restart: unless-stopped
validator:
container_name: validator
image: cwrc/cwrc-validator:latest
volumes:
- ./container_volumes/validator/:/usr/local/tomcat/logs
networks:
- cwrc-gitwriter
restart: unless-stopped
nerve:
container_name: nerve
image: registry.gitlab.com/calincs/conversion/nssi:latest
environment:
- LOG_LEVEL=VERBOSE # Log4J Logging level: WARN, VERBOSE
volumes:
- ./container_volumes/nerve/:/usr/local/tomcat/logs
networks:
- cwrc-gitwriter
restart: unless-stopped
# optional: poll DockerHub and update if image changes
watchtower:
container_name: watchtower
image: containrrr/watchtower
command:
- --cleanup
- --interval=300
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: unless-stopped
networks:
cwrc-gitwriter: