2024-11-28 17:57:19 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
services:
|
|
|
|
dpanel:
|
|
|
|
container_name: dpanel-lite
|
|
|
|
env_file:
|
|
|
|
- ./envs/global.env
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
- APP_NAME=${CONTAINER_NAME}
|
2024-12-04 11:32:15 +08:00
|
|
|
- HTTPS_PROXY=${HTTP_PROXY}
|
2024-12-05 15:43:11 +08:00
|
|
|
image: dpanel/dpanel:1.3.4-lite
|
2024-11-28 17:57:19 +08:00
|
|
|
labels:
|
|
|
|
createdBy: Apps
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8080
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ${DPANEL_ROOT_PATH}/data:/dpanel
|
|
|
|
- ${DPANEL_ROOT_PATH}/compose:/dpanel/compose
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
dpanel-plugin-explorer:
|
|
|
|
command:
|
|
|
|
- sh
|
|
|
|
- -c
|
|
|
|
- tail -f /dev/null
|
|
|
|
container_name: dpanel-plugin-explorer
|
|
|
|
image: alpine:latest
|
|
|
|
pid: host
|
|
|
|
privileged: true
|
|
|
|
restart: unless-stopped
|