1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00
1Panel-Appstore/apps/mediawiki/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

22 lines
568 B
YAML

services:
mediawiki:
image: "mediawiki:latest"
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- ${MEDIAWIKI_IMAGES_PATH}:/var/www/html/images
- ${MEDIAWIKI_DATA_PATH}:${INTERNAL_DATA_PATH}
# 以下行前添加#号表示关闭映射,可进行初始化配置生成
- ${LOCAL_SETTINGS_PATH}:/var/www/html/LocalSettings.php
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true