feat: deploy (Dockerfile, compose) and Gitea Actions CI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-29 18:40:58 +01:00
co-authored by Claude Opus 5.5
parent 699d038d1c
commit ce1baaa706
8 changed files with 169 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
services:
course:
build:
context: ..
dockerfile: deploy/Dockerfile
args:
COURSE_HOST: ${COURSE_HOST:?set COURSE_HOST in deploy/.env}
restart: unless-stopped
expose:
- "80"
environment:
VIRTUAL_HOST: ${COURSE_HOST}
LETSENCRYPT_HOST: ${COURSE_HOST}
VIRTUAL_PORT: "80"
networks:
- proxy
networks:
proxy:
name: ${PROXY_NETWORK:-nginx-proxy}
external: true