-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
29 lines (27 loc) · 1.02 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
version: "3.3"
services:
app:
image: registry.gitlab.com/anggieprojects/clinica-dental:latest
networks:
- net
- traefik-public
logging:
driver: json-file
deploy:
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik-public"
- "traefik.http.routers.clinica-dental-https.entrypoints=https"
- "traefik.http.routers.clinica-dental-https.rule=Host(`clinica-dental.angeles.rocks`)"
- "traefik.http.routers.clinica-dental-http.rule=Host(`clinica-dental.angeles.rocks`)"
- "traefik.constraint-label=traefik-public"
- "traefik.http.routers.clinica-dental-https.tls.certresolver=le"
- "traefik.http.services.clinica-dental.loadbalancer.server.port=80"
- "traefik.http.routers.clinica-dental-http.middlewares=https-redirect"
- "traefik.http.routers.clinica-dental-http.entrypoints=http"
- "traefik.http.routers.clinica-dental-https.tls=true"
networks:
net:
driver: overlay
traefik-public:
external: true