mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 04:26:04 +00:00
gramps: added healthcheck, use specific image everywhere
This commit is contained in:
@@ -27,10 +27,14 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.grampsweb.rule=Host(`gramps.lan`)"
|
- "traefik.http.routers.grampsweb.rule=Host(`gramps.lan`)"
|
||||||
|
healthcheck:
|
||||||
|
test: curl -f http://127.0.0.1:5000 || exit 1
|
||||||
|
interval: 30s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
grampsweb_celery:
|
grampsweb_celery:
|
||||||
container_name: grampsweb_celery
|
container_name: grampsweb_celery
|
||||||
image: ghcr.io/gramps-project/grampsweb:latest
|
image: ghcr.io/gramps-project/grampsweb:25.9.0
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
GRAMPSWEB_TREE: "Gramps Web" # will create a new tree if not exists
|
GRAMPSWEB_TREE: "Gramps Web" # will create a new tree if not exists
|
||||||
|
|||||||
Reference in New Issue
Block a user