2 Commits

Author SHA1 Message Date
Matthieu THOLOT
edd622a9d7 feat(backup): include starseed_prod in daily dumps
All checks were successful
Auto Tag / tag (push) Successful in 8s
2026-05-19 08:09:15 +00:00
Matthieu
93a4dfedb4 feat : add Adminer service on port 8083
All checks were successful
Auto Tag / tag (push) Successful in 5s
- Adminer web UI for PostgreSQL management
- Port 8083 (8080 taken by sirh-app)
- Nginx reverse proxy on adminer-prod.malio-dev.fr (HTTP)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 12:03:35 +02:00
2 changed files with 12 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ cd "$(dirname "$0")"
source .env source .env
BACKUP_DIR="./backups" BACKUP_DIR="./backups"
DATABASES=("sirh_prod" "inventory_prod" "lesstime_prod") DATABASES=("sirh_prod" "inventory_prod" "lesstime_prod" "starseed_prod")
DATE=$(date +%Y-%m-%d_%H%M%S) DATE=$(date +%Y-%m-%d_%H%M%S)
LOG_FILE="${BACKUP_DIR}/backup.log" LOG_FILE="${BACKUP_DIR}/backup.log"
WEBHOOK_URL="${DISCORD_WEBHOOK_URL:-}" WEBHOOK_URL="${DISCORD_WEBHOOK_URL:-}"

View File

@@ -8,3 +8,14 @@ services:
volumes: volumes:
- ./data:/var/lib/postgresql/data - ./data:/var/lib/postgresql/data
restart: unless-stopped restart: unless-stopped
adminer:
image: adminer:latest
container_name: adminer
ports:
- "8083:8080"
environment:
ADMINER_DEFAULT_SERVER: postgres
restart: unless-stopped
depends_on:
- postgres