🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files - ensure consistent image update behavior for all applications - maintain existing network configurations and external network settings - preserve all other service configurations and environment variables
This commit is contained in:
@@ -65,6 +65,7 @@ services:
|
||||
environment:
|
||||
TZ: 'Asia/Shanghai'
|
||||
image: redis:latest
|
||||
pull_policy: always
|
||||
labels:
|
||||
createdBy: Apps
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ services:
|
||||
DDNS_INTERVAL_SECONDS: 120
|
||||
command: bash worker.sh
|
||||
image: leishi1313/aurora-admin-backend:latest
|
||||
pull_policy: always
|
||||
depends_on:
|
||||
- redis
|
||||
labels:
|
||||
@@ -35,6 +36,7 @@ services:
|
||||
ASYNC_DATABASE_URL: "postgresql+asyncpg://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@postgres:5432/${PANEL_DB_NAME}"
|
||||
SECREY_KEY: ${SECRECY_KEY}
|
||||
image: leishi1313/aurora-admin-backend:latest
|
||||
pull_policy: always
|
||||
command: bash -c "while !</dev/tcp/postgres/5432; do sleep 1; done; alembic upgrade heads && python app/main.py"
|
||||
depends_on:
|
||||
- postgres
|
||||
@@ -48,6 +50,7 @@ services:
|
||||
networks:
|
||||
- aurora-network
|
||||
image: leishi1313/aurora-admin-frontend:latest
|
||||
pull_policy: always
|
||||
environment:
|
||||
TZ: 'Asia/Shanghai'
|
||||
ports:
|
||||
@@ -65,6 +68,7 @@ services:
|
||||
environment:
|
||||
TZ: 'Asia/Shanghai'
|
||||
image: redis:latest
|
||||
pull_policy: always
|
||||
labels:
|
||||
createdBy: Apps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user