2024-10-10 11:03:51 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
dozzle:
|
2024-10-28 00:44:28 +08:00
|
|
|
image: amir20/dozzle:v8.7.0
|
2024-10-10 11:03:51 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8080
|
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "/dozzle", "healthcheck" ]
|
|
|
|
interval: 3s
|
|
|
|
timeout: 30s
|
|
|
|
retries: 5
|
|
|
|
start_period: 30s
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
environment:
|
|
|
|
- DOZZLE_ADDR=:8080
|
|
|
|
- DOZZLE_BASE=/
|
|
|
|
- DOZZLE_LEVEL=info
|