diff --git a/docker-compose.yml b/docker-compose.yml index 078ca25..b00cc89 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,7 @@ services: # postgres postgres: image: docker.io/postgres:18-alpine + restart: unless-stopped healthcheck: test: pg_isready -q -t 2 -d $$POSTGRES_DB -U $$POSTGRES_USER start_period: 20s @@ -48,6 +49,7 @@ services: # redis redis: image: docker.io/valkey/valkey:9.0-alpine + restart: unless-stopped command: - sh - -c # this is to evaluate the $REDIS_PASSWORD from the env @@ -63,6 +65,7 @@ services: - netbox-redis-data:/data redis-cache: image: docker.io/valkey/valkey:9.0-alpine + restart: unless-stopped command: - sh - -c # this is to evaluate the $REDIS_PASSWORD from the env