-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
27 lines (27 loc) · 940 Bytes
/
docker-compose.yaml
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
version: '3.3'
services:
back:
image: registry.gitlab.com/anggieprojects/anggiesudoku:latest
networks:
- net
- traefik-public
logging:
driver: json-file
deploy:
labels:
traefik.http.routers.sudoku-http.entrypoints: http
traefik.http.routers.sudoku-https.tls: 'true'
traefik.http.routers.sudoku-https.entrypoints: https
traefik.http.routers.sudoku-http.middlewares: https-redirect
traefik.http.routers.sudoku-https.rule: Host(`sudoku2.angeles.rocks`)
traefik.constraint-label: traefik-public
traefik.http.services.sudoku.loadbalancer.server.port: '8000'
traefik.http.routers.sudoku-https.tls.certresolver: le
traefik.docker.network: traefik-public
traefik.enable: 'true'
traefik.http.routers.sudoku-http.rule: Host(`sudoku2.angeles.rocks`)
networks:
net:
driver: overlay
traefik-public:
external: true