build-container / build (push) Successful in 2m36s
The site sends X-Frame-Options: SAMEORIGIN, so it cannot be embedded; the tab and a Home tile open it in its own browser tab. Address is VERSE_URL. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
28 lines
1.5 KiB
YAML
28 lines
1.5 KiB
YAML
services:
|
|
hub:
|
|
image: git.necloud.us/nate/hub:latest # built by the Gitea workflow; `docker compose build` builds locally instead
|
|
build: .
|
|
restart: unless-stopped
|
|
# The container looks names up through these. If necloud.us only exists on your home/LAN DNS
|
|
# (Pi-hole, router, AdGuard...), set DNS_1 to that server's IP instead.
|
|
dns:
|
|
- ${DNS_1:-1.1.1.1}
|
|
- ${DNS_2:-8.8.8.8}
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
# Edit the values here, or leave the ${...} placeholders and set them in a .env file / your stack's env UI.
|
|
SEAFILE_URL: ${SEAFILE_URL:-https://seafile.necloud.us}
|
|
ONLYOFFICE_URL: ${ONLYOFFICE_URL:-https://onlyoffice.necloud.us}
|
|
AUDIOBOOKS_URL: ${AUDIOBOOKS_URL:-https://audiobooks.necloud.us}
|
|
VERSE_URL: ${VERSE_URL:-https://versebyversewithnate.us/admin}
|
|
ONLYOFFICE_JWT_SECRET: ${ONLYOFFICE_JWT_SECRET:-} # same value as the OnlyOffice server's JWT secret
|
|
PUBLIC_URL: ${PUBLIC_URL:-} # e.g. https://hub.necloud.us (OnlyOffice posts saved edits here)
|
|
HUB_SETUP_CODE: ${HUB_SETUP_CODE:-} # first passkey; if empty, a code is printed in the log
|
|
COOKIE_SECRET: ${COOKIE_SECRET:-} # optional; auto-generated and kept in /data if empty
|
|
volumes:
|
|
- hub-data:/data # passkeys, calendar links and the session secret live here
|
|
volumes:
|
|
hub-data:
|
|
name: nehub-data # fixed name so the data survives redeploys and renamed stacks
|