2024-11-07 12:50:05 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
nexusphp:
|
2024-11-11 20:35:22 +08:00
|
|
|
image: qyg2297248353/nexusphp:v1.8.16
|
2024-11-07 12:50:05 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
2024-11-07 13:12:41 +08:00
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
2024-11-07 12:50:05 +08:00
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
volumes:
|
2024-11-07 13:26:47 +08:00
|
|
|
- ${NEXUSPHP_ROOT_PATH}/config/.env.example:/var/www/html/.env.example
|
2024-11-07 12:50:05 +08:00
|
|
|
- ${NEXUSPHP_ROOT_PATH}/data:/var/www/html
|
2024-11-07 13:26:47 +08:00
|
|
|
- ${NEXUSPHP_TORRENTS_ROOT_PATH}/torrents:/var/www/html/torrents
|
|
|
|
- ${NEXUSPHP_BITBUCKET_ROOT_PATH}/bitbucket:/var/www/html/bitbucket
|
|
|
|
- ${NEXUSPHP_ATTACHMENTS_ROOT_PATH}/attachments:/var/www/html/attachments
|