| 12345678910111213141516171819202122232425262728 |
- services:
- hartwig:
- image: monachus/hugo:latest
- container_name: hugo_hartwig
- restart: unless-stopped
- volumes:
- - hugo_hartwig-1-blog:/usr/share/blog
- networks:
- - traefik-network
- labels:
- - "traefik.enable=true"
- - traefik.docker.network=traefik-network
- - traefik.constraint-label=traefik-network
- - traefik.http.routers.hugo-hartwig-http.middlewares=http-to-https
- - traefik.http.routers.hugo-hartwig-https.rule=Host(`hartwig.odamus.com`)
- - traefik.http.routers.hugo-hartwig-https.entrypoints=websecure
- - traefik.http.routers.hugo-hartwig-http.rule=Host(`hartwig.odamus.com`)
- - traefik.http.routers.hugo-hartwig-http.entrypoints=web
- - "traefik.http.routers.hugo-hartwig-https.tls.certresolver=mychallenge"
- - traefik.http.services.hugo-hartwig.loadbalancer.server.port=1313
- volumes:
- hugo_hartwig-1-blog:
- external: true
- networks:
- traefik-network:
- external: true
|