mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-31 07:49:07 -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.
34 lines
810 B
Plaintext
34 lines
810 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:nginx]
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
|
|
[program:gunicorn]
|
|
command=/bin/sh -c 'exec /usr/local/bin/gunicorn main.wsgi:application --bind [::]:8000 --workers ${GUNICORN_WORKERS:-2} --timeout 120'
|
|
directory=/code
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:memcached]
|
|
command=memcached -u nobody -m 64 -p 11211
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:cron]
|
|
command=/usr/sbin/cron -f -L 15
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stderr_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile_maxbytes=0
|