2020-02-11 09:02:51 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
histoiredunpied:
|
|
|
|
container_name: ${NAME}
|
|
|
|
build: .
|
|
|
|
image: ${NAME}
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Paris
|
|
|
|
labels:
|
|
|
|
traefik.enable: "true"
|
|
|
|
traefik.docker.network: "traefik"
|
2020-02-16 16:44:05 +01:00
|
|
|
traefik.http.routers.histoiredunpied.rule: "Host(`${URL}`)"
|
2020-02-11 09:02:51 +01:00
|
|
|
traefik.http.routers.histoiredunpied.entrypoints: "web"
|
|
|
|
traefik.http.routers.histoiredunpied.middlewares: "redirect-https@docker"
|
2020-02-16 16:44:05 +01:00
|
|
|
traefik.http.routers.histoiredunpied-https.rule: "Host(`${URL}`)"
|
2020-02-11 09:02:51 +01:00
|
|
|
traefik.http.routers.histoiredunpied-https.entrypoints: "websecure"
|
|
|
|
traefik.http.routers.histoiredunpied-https.tls.certResolver: "letsencrypt"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
external:
|
|
|
|
name: traefik
|