feat: deploy (Dockerfile, compose) and Gitea Actions CI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
699d038d1c
commit
ce1baaa706
@@ -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
|
||||
Reference in New Issue
Block a user