appstore-1panel/apps/sun-panel/1.6.0/docker-compose.yml

24 lines
596 B
YAML
Raw Normal View History

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:
- /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