Tobias Manske
c71f41230f
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
487 B
YAML
18 lines
487 B
YAML
---
|
|
version: "3.4"
|
|
|
|
services:
|
|
redirect:
|
|
image: caddy:2
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
|
|
- ./www:/var/www:ro,Z
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
|
|
- "traefik.http.routers.repoproxy.rule=Host(`repo.tobiasmanske.de`)"
|
|
- "traefik.http.routers.repoproxy.entryPoints=websecure"
|
|
- "traefik.http.services.repoproxy.loadbalancer.server.port=80"
|
|
restart: always
|
|
...
|