summaryrefslogtreecommitdiff
path: root/Applications/Web/dweipert.de/docker-compose.yml
blob: 6f1efb970c50515590c9469cb9a15d39f90d8384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: "3"

services:
  http:
    image: nginx:alpine
    restart: unless-stopped
    volumes:
      - "./html:/usr/share/nginx/html:ro"
    networks:
      - "traefik"
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.web-dweipert-de.rule=Host(`${DOMAIN}`)"
      - "traefik.http.routers.web-dweipert-de.entrypoints=websecure"
      - "traefik.http.routers.web-dweipert.de.tls.certresolver=letsencrypt"

networks:
  traefik:
    name: "${TRAEFIK_NETWORK}"
    external: true