2024-10-17 18:20:37 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
watchyourlan:
|
2024-10-21 05:42:27 +08:00
|
|
|
image: aceberg/watchyourlan:2.0.4
|
2024-10-17 18:20:37 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
network_mode: host
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8840
|
2024-10-18 16:28:24 +08:00
|
|
|
env_file:
|
2024-11-27 17:54:18 +08:00
|
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
2024-10-18 16:28:24 +08:00
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
2024-10-17 18:20:37 +08:00
|
|
|
volumes:
|
|
|
|
- ${WATCHYOURLAN_ROOT_PATH}/data:/data/WatchYourLAN
|
|
|
|
environment:
|
|
|
|
- HOST=0.0.0.0
|
|
|
|
- PORT=8840
|
|
|
|
- LOG_LEVEL=info
|