-
Notifications
You must be signed in to change notification settings - Fork 1
/
service.yml
73 lines (71 loc) · 2 KB
/
service.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
services:
db:
deploy:
resources:
limits:
cpus: "0.50"
memory: "1073741824"
env_file: env
image: mariadb:10.8.2
networks:
dcms: null
tty: true
volumes:
- /DockerVolumes/ftp/dcmsweb/master//dcms_db:/var/lib/mysql
# - /DockerVolumes/database-backups/r-DCMS-db-1/backup:/docker-entrypoint-initdb.d
web:
deploy:
labels:
traefik.constraint-label: traefik-public
traefik.docker.network: traefik-public
traefik.enable: "true"
traefik.http.routers.dcms-http.entrypoints: http
traefik.http.routers.dcms-http.middlewares: https-redirect
traefik.http.routers.dcms-http.rule: Host(`dcms.gos.dyalog.com`,`dcms.dyalog.com`)
traefik.http.routers.dcms-https.entrypoints: https
traefik.http.routers.dcms-https.rule: Host(`dcms.gos.dyalog.com`,`dcms.dyalog.com`)
traefik.http.routers.dcms-https.tls: "true"
traefik.http.routers.dcms-https.tls.certresolver: le
traefik.http.services.dcms.loadbalancer.server.port: "8080"
resources:
limits:
cpus: "0.50"
memory: "1073741824"
env_file: env
image: dyalog/dyalog:19.0
networks:
dcms: null
traefik-public: null
tty: true
volumes:
- appvol:/app
- appdatavol:/data
- appsecretsvol:/secrets
networks:
dcms:
name: dcms_dcms
traefik-public:
name: traefik-public
external: true
volumes:
appdatavol:
name: dcms_appdatavol
driver: local
driver_opts:
device: :/DockerVolumes/ftp/dcmsweb/master/data
o: addr=81.94.205.34,nolock,soft,rw
type: nfs
appsecretsvol:
name: dcms_appsecretsvol
driver: local
driver_opts:
device: :/DockerVolumes/ftp/dcmsweb/master/secrets
o: addr=81.94.205.34,nolock,soft,rw
type: nfs
appvol:
name: dcms_appvol
driver: local
driver_opts:
device: :/DockerVolumes/ftp/dcmsweb/master
o: addr=81.94.205.34,nolock,soft,rw
type: nfs