mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 19:27:18 +02:00
- Move entrypoint to files/ and deploy via copy - Parameterize APP_KEY_FILE, data dir, and entrypoint paths - Require explicit PORT/PG envs (remove fallbacks) - Drop stray header from config/main.yml - Dockerfile: use templated data dir & entrypoint; keep node user - Compose: set custom image, adjust volume mapping - env: derive APP_SCHEME from WEB_PROTOCOL; NODE_ENV from ENVIRONMENT - tasks: add 01_core and simplify main to include it Ref: https://chatgpt.com/share/68b851c5-4dd8-800f-8e9e-22b985597b8f
34 lines
809 B
YAML
34 lines
809 B
YAML
credentials: {}
|
|
docker:
|
|
services:
|
|
database:
|
|
enabled: true # Use central DB role (recommended)
|
|
application:
|
|
image: "node" # Base image family; final image is custom
|
|
version: "20-bullseye" # >=16 as required upstream
|
|
name: "web-app-chess"
|
|
backup:
|
|
no_stop_required: true
|
|
volumes:
|
|
data: "chess_data"
|
|
features:
|
|
matomo: false
|
|
css: false
|
|
desktop: false
|
|
central_database: true
|
|
logout: false
|
|
oidc: false
|
|
server:
|
|
csp:
|
|
whitelist: {}
|
|
flags: {}
|
|
domains:
|
|
canonical:
|
|
- "chess.{{ PRIMARY_DOMAIN }}"
|
|
aliases: []
|
|
rbac:
|
|
roles: {}
|
|
source:
|
|
repo: "https://github.com/stephank/castling.club.git"
|
|
ref: "main"
|