appstore-1panel/apps/nexusphp/1.8.14/docker-compose.yml
Meng Sen 9814da9774 发布 NexusPHP
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-11-07 13:12:41 +08:00

38 lines
1.0 KiB
YAML

networks:
1panel-network:
external: true
services:
nexusphp:
image: qyg2297248353/nexusphp:v1.8.14
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:80
env_file:
- /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${NEXUSPHP_ROOT_PATH}/data:/var/www/html
- ${NEXUSPHP_ROOT_PATH}/torrents:/var/www/html/torrents
- ${NEXUSPHP_ROOT_PATH}/bitbucket:/var/www/html/bitbucket
- ${NEXUSPHP_ROOT_PATH}/attachments:/var/www/html/attachments
environment:
- TIMEZONE=Asia/Shanghai
- APP_DEBUG=false
- APP_ENV=production
- LOG_LEVEL=info
- DB_CONNECTION=mysql
- BROADCAST_DRIVER=log
- CACHE_DRIVER=redis
- QUEUE_CONNECTION=redis
- SESSION_DRIVER=file
- SESSION_LIFETIME=120
- MAIL_FROM_NAME=${APP_NAME}
- SFTP_ROOT=/tmp
- GEOIP2_DATABASE=/var/www/html/geoip2/geoip2.mmdb