services: traefik: image: docker.io/library/traefik:latest container_name: traefik restart: unless-stopped volumes: - ~/volumes/traefik/etc:/etc/traefik:Z,ro - ~/volumes/traefik/logs:/volumes/logs:Z - ~/volumes/traefik/certs:/volumes/certs:Z environment: - TZ=Europe/Berlin networks: - traefik ports: - "80:80" - "443:443" networks: traefik: name: traefik