mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-30 15:28:30 -04:00
- Introduced .dockerignore to exclude unnecessary files from Docker context. - Added .env.aio.example for minimal configuration of the AdventureLog All-in-One setup. - Updated .env.example to include optional SITE_URL and GUNICORN_WORKERS settings. - Enhanced deploy.sh script for improved deployment flexibility and backup options. - Updated docker-compose files to use PostGIS 16-3.5 and added health checks for services. - Created docker-compose.aio.yml for All-in-One deployment configuration. - Improved health checks and service dependencies in docker-compose.dev.yml and docker-compose.yml. - Added GitHub workflows for building and pushing Docker images, including smoke tests for AIO setup.
17 lines
773 B
Plaintext
17 lines
773 B
Plaintext
# AdventureLog scheduled management commands.
|
|
# Schedules are in UTC (CRON_TZ). Job output appears in Docker logs and
|
|
# /var/log/adventurelog/<job-name>.log inside the container.
|
|
# Add new jobs on their own line:
|
|
# MIN HOUR DOM MON DOW root /code/scripts/run-cron-job.sh <log-name> <command> [args...]
|
|
#
|
|
# Examples:
|
|
# 0 4 * * 0 root /code/scripts/run-cron-job.sh image_cleanup image_cleanup --dry-run
|
|
# 30 2 * * * root /code/scripts/run-cron-job.sh sync_visited_regions sync_visited_regions --batch-size 50
|
|
|
|
SHELL=/bin/bash
|
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
CRON_TZ=UTC
|
|
|
|
# Sync visited regions and cities from user locations (nightly midnight UTC)
|
|
0 0 * * * root /code/scripts/run-cron-job.sh sync_visited_regions sync_visited_regions
|