feat: add pull_policy to db, backend, and web services for consistent image pulling
This commit is contained in:
parent
c44ba87aed
commit
47d5a01275
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ services:
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
pull_policy: "always"
|
||||||
networks:
|
networks:
|
||||||
- dokploy-network
|
- dokploy-network
|
||||||
expose:
|
expose:
|
||||||
|
|
@ -83,6 +84,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- 1323
|
- 1323
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
pull_policy: "always"
|
||||||
volumes:
|
volumes:
|
||||||
- images_volume:/app/images
|
- images_volume:/app/images
|
||||||
- storage_volume:/app/storage
|
- storage_volume:/app/storage
|
||||||
|
|
@ -116,6 +118,7 @@ services:
|
||||||
web:
|
web:
|
||||||
image: "${IMAGE_REGISTRY:-ghcr.io}/${OWNER:-marcopedone}/infoalloggi-web:${TAG:-latest}"
|
image: "${IMAGE_REGISTRY:-ghcr.io}/${OWNER:-marcopedone}/infoalloggi-web:${TAG:-latest}"
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
|
pull_policy: "always"
|
||||||
environment:
|
environment:
|
||||||
INTERNAL_BASE_URL: http://web:3000
|
INTERNAL_BASE_URL: http://web:3000
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue