chore(prod): support .env.docker in crons, fix WAL mapping and add canvas copy in Dockerfile
Some checks failed
CI / Deploy production (on server) (push) Has been cancelled
CI / Lint, Test & Build (push) Has been cancelled

This commit is contained in:
Antigravity
2026-05-20 19:21:49 +00:00
parent 495f9a631b
commit 2db12adffc
7 changed files with 48 additions and 1 deletions

View File

@@ -1,6 +1,13 @@
#!/bin/bash
set -euo pipefail
# Load environment variables from .env.docker if it exists
if [ -f "/opt/memento/.env.docker" ]; then
set -a
source "/opt/memento/.env.docker"
set +a
fi
BACKUP_DIR="/opt/memento/backups"
SNAPSHOT_DIR="$BACKUP_DIR/snapshots"
PG_CONTAINER="memento-postgres"