2024-10-10 11:03:51 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
dozzle:
|
2024-11-26 04:44:51 +08:00
|
|
|
image: amir20/dozzle:v8.8.2
|
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:
|
2024-11-27 17:54:18 +08:00
|
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
2024-10-10 11:03:51 +08:00
|
|
|
- ${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
|