Files
Gabriel Brown 913a57f8a6 Snapshot both servers: the VPS catalog moves to server/vps, the home server joins as server/home
The catalog in server/containers had drifted from the VPS. Eleven compose
files and twelve units no longer matched what runs, and two running
services, Gbrown_Agent and BillTracker, were missing. server/vps is now a
copy of the live files, and panama-server reads from it.

server/home holds the home server's services in the same shape. They still
run under Docker, so the podman units there are drafts for a later move, and
nothing installs from that tree. PostHog, Sentry and Plausible are checkouts
of upstream repositories. Only their local files are kept, next to an
UPSTREAM file naming the repository and the exact commit.

Every secret in both trees is a ${VAR} reference named in .env.example, or
CHANGE_ME in files that are not compose files. The live servers still hold
some of those values inline, so a live file can differ from its copy on
those lines alone. Existing .env.example files keep their comments, with new
keys appended at the end.

The ignore rules and the secrets contract now cover both trees, plus the
volume/ and volumes/ directories the home server uses.
2026-10-06 10:52:47 -04:00

67 lines
2.2 KiB
YAML

networks:
nginx-bridge:
external: true
services:
romm:
image: rommapp/romm:latest
container_name: romm
hostname: romm
domainname: romm.gbrown.org
networks: [nginx-bridge]
restart: unless-stopped
stdin_open: true
tty: true
labels: [com.centurylinklabs.watchtower.enable=true]
environment:
- TZ=America/New_York
- DB_HOST=romm-db
- DB_NAME=romm
- DB_USER=gib
- DB_PASSWD=${DB_PASSWD}
- ROMM_AUTH_SECRET_KEY=${ROMM_AUTH_SECRET_KEY}
- IGDB_CLIENT_ID=${IGDB_CLIENT_ID}
- IGDB_CLIENT_SECRET=${IGDB_CLIENT_SECRET}
- RETROACHIEVEMENTS_API_KEY=${RETROACHIEVEMENTS_API_KEY}
- STEAMGRIDDB_API_KEY=${STEAMGRIDDB_API_KEY}
- HASHEOUS_API_ENABLED=true
- PLAYMATCH_API_ENABLED=true
- OIDC_ENABLED=true
- OIDC_PROVIDER=Gibs Auth
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID}
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET}
- OIDC_REDIRECT_URI=https://romm.gbrown.org/api/oauth/openid
- OIDC_SERVER_APPLICATION_URL=https://auth.gbrown.org/application/o/romm
#- ENABLE_RESCAN_ON_FILESYSTEM_CHANGE=true
volumes:
- ./volumes/romm/resources:/romm/resources # Resources fetched from IGDB (covers, screenshots, etc.)
- ./volumes/romm/redis_data:/redis-data # Cached data for background tasks
- /home/gib/Public/Server_Backup/ROMs:/romm/library # Your game library
- ./volumes/romm/assests:/romm/assets # Uploaded saves, states, etc.
- ./volumes/romm/config:/romm/config # Path where config.yml is stored
#ports: [8080:8080]
depends_on:
romm-db:
condition: service_healthy
restart: true
romm-db:
image: mariadb:latest
container_name: romm-db
hostname: romm-db
networks: [nginx-bridge]
restart: unless-stopped
labels: [com.centurylinklabs.watchtower.enable=true]
environment:
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
- MARIADB_DATABASE=romm
- MARIADB_USER=gib
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
volumes: [./volumes/mysql:/var/lib/mysql]
healthcheck:
test: [CMD, healthcheck.sh, --connect, --innodb_initialized]
start_period: 30s
start_interval: 10s
interval: 10s
timeout: 5s
retries: 5