Compare commits

..

3 commits

Author SHA1 Message Date
5357ac790f n
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
2024-05-27 11:38:35 +02:00
09d6e1744b h 2024-05-27 11:38:32 +02:00
421a68164b mail 2024-05-27 11:35:40 +02:00

View file

@ -3,6 +3,7 @@ version: "3.7"
services:
grampsweb: &grampsweb
container_name: grampsweb
image: ghcr.io/gramps-project/grampsweb:latest # version
restart: always
ports:
@ -12,6 +13,10 @@ services:
GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://grampsweb_redis:6379/1
EMAIL_HOST: "docker10.mgrote.net"
EMAIL_PORT: "1025"
EMAIL_USE_TLS: "false"
DEFAULT_FROM_EMAIL: "gramps@mgrote.net"
depends_on:
- grampsweb_redis
volumes:
@ -23,6 +28,11 @@ services:
- gramps_db:/root/.gramps/grampsdb # persist Gramps database
- gramps_media:/app/media # persist media files
- gramps_tmp:/tmp
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:5000/"]
interval: 30s
timeout: 10s
retries: 3
grampsweb_celery:
<<: *grampsweb # YAML merge key copying the entire grampsweb service config
@ -46,11 +56,3 @@ volumes:
gramps_db:
gramps_media:
gramps_tmp:
# healtchecj
# healthcheck:
# test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]
# interval: 30s
# timeout: 10s
# retries: 3