mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 03:18:48 +08:00
24 lines
596 B
YAML
24 lines
596 B
YAML
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
sun-panel:
|
||
|
image: hslr/sun-panel:1.5.3
|
||
|
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
|