Compare commits
3 commits
19a602bac4
...
5357ac790f
Author | SHA1 | Date | |
---|---|---|---|
5357ac790f | |||
09d6e1744b | |||
421a68164b |
1 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue