1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 06:52:30 +08:00
1Panel-Appstore/apps/nodebb/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

25 lines
659 B
YAML

networks:
1panel-network:
external: true
services:
nodebb:
image: ghcr.io/nodebb/nodebb:latest
pull_policy: always
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:4567
volumes:
- ${NODEBB_ROOT_PATH}/node_modules:/usr/src/app/node_modules
- ${NODEBB_ROOT_PATH}/build:/usr/src/app/build
- ${NODEBB_ROOT_PATH}/uploads:/usr/src/app/public/uploads
- ${NODEBB_ROOT_PATH}/config:/opt/config
- ${NODEBB_ROOT_PATH}/setup.json:/usr/src/app/setup.json
environment:
- TZ=Asia/Shanghai