mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-06 23:26:09 +08:00
27 lines
754 B
YAML
27 lines
754 B
YAML
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
nodebb:
|
||
|
image: ghcr.io/nodebb/nodebb:4.0.0
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:4567
|
||
|
env_file:
|
||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||
|
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
|