mirror of
https://github.com/LucasVbr/game-lib.git
synced 2026-05-13 17:21:51 +00:00
17 lines
384 B
YAML
17 lines
384 B
YAML
name: ${PROJECT}
|
|
|
|
services:
|
|
web:
|
|
image: caddy:alpine
|
|
volumes:
|
|
- ./apps/web:/usr/share/caddy:ro
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.${PROJECT}_web.rule=Host(`web.${PROJECT}.localhost`)"
|
|
- "traefik.http.services.${PROJECT}_web.loadbalancer.server.port=80"
|
|
networks:
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
external: true |