markemacht/docker-compose.markemacht.yml
Kevin Adametz 18216e301c
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
05-06-2026 marke macht Webseite Design Inhalte
2026-06-05 17:43:31 +02:00

27 lines
1.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
# Service bewusst NICHT "markemacht.test" benennen OrbStack würde sonst
# die Domain direkt auf den Container zeigen (nur :80, kein TLS via Traefik).
markemacht-static:
image: nginx:alpine
container_name: markemacht-static
restart: unless-stopped
volumes:
- './_markemacht.de:/usr/share/nginx/html:ro'
- './_markemacht.de/docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro'
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.markemacht.rule=Host(`markemacht.test`)"
- "traefik.http.routers.markemacht.entrypoints=websecure"
- "traefik.http.routers.markemacht.tls=true"
- "traefik.http.routers.markemacht.service=markemacht-static"
- "traefik.http.routers.markemacht-http.rule=Host(`markemacht.test`)"
- "traefik.http.routers.markemacht-http.entrypoints=web"
- "traefik.http.routers.markemacht-http.service=markemacht-static"
- "traefik.http.services.markemacht-static.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true