deploy(core): add dockerfile and compose (and deploy)

This commit is contained in:
2025-10-07 14:37:47 +02:00
parent b482baf56d
commit 3a3b331092
4 changed files with 69 additions and 0 deletions

19
compose.yaml Normal file
View File

@@ -0,0 +1,19 @@
services:
homepage:
build:
context: .
image: byhaider-homepage:latest
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.byhaider-homepage.rule=Host(`byhaider.dev`)"
- "traefik.http.routers.byhaider-homepage.entrypoints=websecure"
- "traefik.http.routers.byhaider-homepage.tls=true"
- "traefik.http.routers.byhaider-homepage.tls.certResolver=cloudflare"
- "traefik.http.services.byhaider-homepage.loadbalancer.server.port=80"
networks:
- traefik-network
networks:
traefik-network:
external: true