appstore-1panel/apps/sun-panel/1.6.0/docker-compose.yml
Meng Sen 593018d97a 应用标准化
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-11-27 17:54:18 +08:00

24 lines
616 B
YAML

networks:
1panel-network:
external: true
services:
sun-panel:
image: hslr/sun-panel:1.6.0
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3002
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${SUN_PANEL_ROOT_PATH}/conf:/app/conf
- ${SUN_PANEL_ROOT_PATH}/database:/app/database
- ${SUN_PANEL_ROOT_PATH}/uploads:/app/uploads
- /var/run/docker.sock:/var/run/docker.sock