-
Notifications
You must be signed in to change notification settings - Fork 9
/
service.yml
41 lines (39 loc) · 1.3 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
services:
web:
image: dyalog/miserver
stdin_open: true
volumes:
- /DockerVolumes/MiServer/DrA:/MiServer/MS3/DrA
tty: true
networks:
- traefik-public
deploy:
resources:
limits:
cpus: '0.50'
memory: 512M
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.miserver-http.rule=Host(`miserver.dyalog.com`)
- traefik.http.routers.miserver-http.entrypoints=http
- traefik.http.routers.miserver-http.middlewares=https-redirect
- traefik.http.routers.miserver-https.rule=Host(`miserver.dyalog.com`)
- traefik.http.routers.miserver-https.entrypoints=https
- traefik.http.routers.miserver-https.tls=true
- traefik.http.routers.miserver-https.tls.certresolver=le
- traefik.http.services.miserver.loadbalancer.server.port=8080
DrA-Sender:
image: git.bramley.dyalog.com/docker/drachecker:latest
environment:
MAILTO: [email protected] [email protected]
MAILFROM: MiServer DrA <[email protected]>
MAILSUBJECT: '[MiServer] DrA Error captured'
stdin_open: true
volumes:
- /DockerVolumes/MiServer/DrA:/DrA
tty: true
networks:
traefik-public:
external: true