feat: add pull_policy to db, backend, and web services for consistent image pulling

This commit is contained in:
Marco Pedone 2025-10-16 18:09:51 +02:00
parent c44ba87aed
commit 47d5a01275

View file

@ -6,6 +6,7 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
restart: unless-stopped
pull_policy: "always"
networks:
- dokploy-network
expose:
@ -83,6 +84,7 @@ services:
expose:
- 1323
restart: unless-stopped
pull_policy: "always"
volumes:
- images_volume:/app/images
- storage_volume:/app/storage
@ -116,6 +118,7 @@ services:
web:
image: "${IMAGE_REGISTRY:-ghcr.io}/${OWNER:-marcopedone}/infoalloggi-web:${TAG:-latest}"
working_dir: /app
pull_policy: "always"
environment:
INTERNAL_BASE_URL: http://web:3000
POSTGRES_USER: ${POSTGRES_USER}