1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00
1Panel-Appstore/apps/vanblog/latest/docker-compose.yml
pooneyy 7ff35caf28
🔧 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
2025-11-10 16:10:24 +08:00

29 lines
842 B
YAML

services:
vanblog:
image: mereith/van-blog:latest
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${PANEL_APP_PORT_HTTPS}:443"
volumes:
- ${DATA_PATH}/data/static:/app/static
- ${DATA_PATH}/log:/var/log
- ${DATA_PATH}/caddy/config:/root/.config/caddy
- ${DATA_PATH}/caddy/data:/root/.local/share/caddy
environment:
- TZ=${TIME_ZONE}
- EMAIL=${EMAIL}
- VAN_BLOG_CDN_URL=${VAN_BLOG_CDN_URL}
- VAN_BLOG_WALINE_DB=${VAN_BLOG_WALINE_DB}
- VAN_BLOG_DATABASE_URL=mongodb://${PANEL_DB_ROOT_USER}:${PANEL_DB_ROOT_PASSWORD}@${MONGO_HOST}:27017/${MONGO_DB}?authSource=admin
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true