mirror of
https://github.com/LucasVbr/game-lib.git
synced 2026-05-13 17:21:51 +00:00
chore: setup monorepo with docker and move legacy code in to apps/web
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user