Deploy the stack from the repo's compose.yaml via Gitea Actions
- deploy.yml gets a deploy job after the build: pull, compose up on Unraid through the runner's Docker socket, then a health gate on eb-blazor /health from inside proxynet; docs-only pushes trigger nothing, manual runs allowed - STRATO_DYNDNS_PASSWORD comes from a Gitea secret instead of the Compose Manager env file - restart: always, because Unraid stops containers explicitly on shutdown and unless-stopped would leave the stack down after a reboot; the dev overlay turns it off - Docs describe the automatic rollout and the one-time switch away from the Compose Manager stack Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4968b62f06
commit
05b1666f81
5 files changed
+152
-99
No files matched your search
+11
-3
@@ -7,6 +7,14 @@
|
||||
# web app publishes no host port. The `ports:` block on PocketBase is TEMPORARY: it
|
||||
# is the editors' way onto the admin UI until they reach it through an NPM subdomain
|
||||
# (#9). Unraid setup: docs/unraid-infrastructure.md.
|
||||
#
|
||||
# On Unraid this file is deployed as is by .gitea/workflows/deploy.yml (project
|
||||
# eb-stack), not pasted into the Compose Manager.
|
||||
#
|
||||
# `restart: always`, not `unless-stopped`: Unraid stops every container explicitly
|
||||
# when Docker or the array goes down, and `unless-stopped` treats that as a manual
|
||||
# stop -- the stack would stay down after a reboot. Without the Compose Manager
|
||||
# there is no autostart toggle to bring it back.
|
||||
|
||||
# For local development use the dev overlay on top, which adds host ports and builds
|
||||
# the web image from source:
|
||||
@@ -25,7 +33,7 @@ services:
|
||||
eb-pocketbase:
|
||||
image: ghcr.io/muchobien/pocketbase:0.40.4
|
||||
container_name: eb-pocketbase
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
volumes:
|
||||
@@ -47,7 +55,7 @@ services:
|
||||
eb-web:
|
||||
image: gitea.anticarnist.de/tom/elternbeirat:latest
|
||||
container_name: eb-blazor
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
depends_on:
|
||||
eb-pocketbase:
|
||||
condition: service_healthy
|
||||
@@ -71,7 +79,7 @@ services:
|
||||
# tests quiet, where the service is disabled. Setup: docs/deployment.md.
|
||||
image: qmcgaw/ddns-updater:2.10
|
||||
container_name: eb-ddns
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
PERIOD: 5m
|
||||
|
||||
Reference in new issue
Block a user