feat: docker build and gitea workflow

This commit is contained in:
2026-02-13 12:16:33 +01:00
parent 2f36676962
commit ad1fc85a10
5 changed files with 68 additions and 109 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
app:
image: git.pihkaal.me/pihkaal/pihkaal-me:latest
restart: unless-stopped
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.pihkaal-me.rule=Host(`beta.pihkaal.me`)"
- "traefik.http.routers.pihkaal-me.middlewares=auth"
- "traefik.http.routers.pihkaal-me.tls=true"
- "traefik.http.routers.pihkaal-me.tls.certResolver=myresolver"
- "traefik.http.services.pihkaal-me.loadbalancer.server.port=3000"
- "traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH_USERS}"
networks:
web:
external: true