Files
Moonbase/docker-compose.yml
tonym 2e0931343f v0.7.0 — Suggestions module via @otm/account-panel
Wire the shared Gitea-backed suggestions panel: page, list/create + comments +
upload API routes, sidebar link. Suggestions file as issues on bonna61/Moonbase;
screenshot uploads persist via a mounted volume. Mirrors the FMB wiring.

Secrets (NEXTAUTH_SECRET, GITEA_TOKEN) moved out of docker-compose.yml to an
interpolated gitignored .env on the host, per CLAUDE.md (never commit the token).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 22:03:47 -05:00

41 lines
1.2 KiB
YAML

services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: moonbase
POSTGRES_USER: moonbase
POSTGRES_PASSWORD: moonbase
volumes:
- /mnt/user/appdata/moonbase/postgres:/var/lib/postgresql/data
networks:
- internal
app:
build: .
image: moonbase:latest
restart: unless-stopped
depends_on:
- postgres
ports:
- "8053:3000"
environment:
DATABASE_URL: postgresql://moonbase:moonbase@postgres:5432/moonbase
# Secrets are interpolated from a gitignored .env next to this file on the
# host (never committed — see CLAUDE.md). docker compose auto-loads ./.env.
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXTAUTH_URL: http://192.168.0.5:8053
# Suggestions module — files feedback as Gitea issues on bonna61/Moonbase.
GITEA_URL: http://192.168.0.5:3022
GITEA_TOKEN: ${GITEA_TOKEN}
GITEA_REPO: bonna61/Moonbase
volumes:
# Persist suggestion screenshot uploads across rebuilds.
- /mnt/user/appdata/moonbase/uploads:/app/public/uploads
networks:
- internal
networks:
internal:
driver: bridge