-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtest-docker-compose.yml
117 lines (107 loc) · 3.5 KB
/
test-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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
## docker compose to run image website
services:
image-unicorn-cim-mcgill-ca:
image: nginx:latest
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.image-unicorn.rule=Host(`unicorn.cim.mcgill.ca`) && PathPrefix(`/image`)"
- "traefik.http.routers.image-unicorn.tls.certresolver=myresolver"
- "traefik.http.middlewares.image-unicorn.stripprefix.prefixes=/image"
- "traefik.http.routers.image-unicorn.middlewares=image-unicorn@docker"
- traefik.docker.network=traefik
environment:
- SERVER_NAME=unicorn.cim.mcgill.ca
volumes:
# Following volume mounts are used only by the IMAGE project's website, not required for IMAGE server
- ./IMAGE-website/html:/var/www/html:ro
- ./IMAGE-website/image.conf:/etc/nginx/templates/image.conf.template:ro
- ./IMAGE-website/passwords:/etc/nginx/passwords
- ./resources/current:/var/www/resources:ro
- website-logs:/var/log/nginx
depends_on:
- orchestrator
networks:
- traefik
- default
goaccess:
container_name: image-goaccess
image: allinurl/goaccess:1.9.2
restart: unless-stopped
command: /srv/logs/image-a11y-mcgill-ca-access.log --log-format=COMBINED --date-format='%d/%b/%Y' --time-format='%T' --no-global-config --real-time-html -o /srv/report/report.html --persist --restore
volumes:
- website-logs:/srv/logs:ro
- ./goaccess_report:/srv/report
# override gpu selection on test environment
semantic-segmentation:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['1']
capabilities: ["gpu", "utility", "compute"]
depth-map-generator:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: ["gpu", "utility", "compute"]
action-recognition:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: ["gpu", "utility", "compute"]
object-detection:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: ["gpu", "utility", "compute"]
espnet-tts:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: ["gpu", "utility", "compute"]
espnet-tts-fr:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: ["gpu", "utility", "compute"]
multilang-support:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: ["gpu", "utility", "compute"]
monarch-link-app:
labels:
- "traefik.enable=true"
- "traefik.http.routers.monarch-link-app.rule=Host(`monarch.unicorn.cim.mcgill.ca`)"
- "traefik.http.routers.monarch-link-app.tls.certresolver=myresolver"
- traefik.docker.network=traefik
environment:
- SERVER_NAME=unicorn.cim.mcgill.ca
tat:
labels:
- "traefik.enable=true"
- "traefik.http.routers.tat.rule=Host(`tat.unicorn.cim.mcgill.ca`)"
- "traefik.http.routers.tat.tls.certresolver=myresolver"
- traefik.docker.network=traefik
environment:
- SERVER_NAME=unicorn.cim.mcgill.ca