add celery background tasks and redis server for celery, also modify django to use redis instead of postgres for caching for speed improvement and alleviating sql traffic

This commit is contained in:
badblocks 2025-05-19 18:23:19 -07:00
parent eeae7ae675
commit f530790f6c
9 changed files with 313 additions and 32 deletions

View file

@ -48,8 +48,6 @@ services:
image: getfider/fider:stable
env_file:
- .env
volumes:
- ./certs:/certs
cadvisor:
volumes:
- /:/rootfs:ro
@ -61,6 +59,25 @@ services:
devices:
- /dev/kmsg
image: gcr.io/cadvisor/cadvisor:v0.52.1
redis:
image: redis:latest
restart: always
ports:
- 6379:6379
# anubis:
# image: ghcr.io/techarohq/anubis:latest
# env_file:
# - .env
# dockergen:
# image: jwilder/docker-gen:latest
# container_name: dockergen_gatus_config
# command: -watch -notify-sighup gatus_service -only-exposed /app/config.template.yml /app/config.yaml
# restart: unless-stopped
# volumes:
# - /var/run/docker.sock:/tmp/docker.sock:ro
# - ./gatus:/app
# depends_on:
# - health
health:
image: twinproduction/gatus:latest
restart: always
@ -69,8 +86,4 @@ services:
environment:
- GATUS_DELAY_START_SECONDS=30
volumes:
- ./gatus/config.yaml:/config/config.yaml
- ./certs:/certs
# secrets:
# env_file_base64:
# environment: ENV_FILE_BASE64
- ./gatus:/config