mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-15 17:42:22 +08:00
24 lines
616 B
YAML
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
|