CI: Gitea-Action baut und deployt bei Push auf main (Runner-Whitelist, dist-Laufzeitmount)
Build & Deploy / deploy (push) Successful in 23s
Build & Deploy / deploy (push) Successful in 23s
This commit is contained in:
@@ -20,7 +20,9 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./web/docker/templates/default.conf.template:/etc/nginx/templates/default.conf.template:ro
|
||||
# envsubst ersetzt ${MAIL_API_TOKEN} beim Start aus app.env
|
||||
# dist/ als Laufzeit-Mount: CI ersetzt die Dateien und nginx pickt sie
|
||||
# sofort auf – kein Image-Rebuild noetig (Build im Image bleibt Fallback)
|
||||
- ./web/dist:/usr/share/nginx/html:ro
|
||||
env_file:
|
||||
- app.env
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user