feat: enhance Beszel service configuration and add Beszel agent in Docker Compose
This commit is contained in:
parent
19ad2ab711
commit
8c9306f166
@ -6,11 +6,23 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- '8090:8090'
|
- '8090:8090'
|
||||||
volumes:
|
volumes:
|
||||||
- {{beszel_data_dir}}:/beszel_data
|
- {{beszel_data_dir}}/data:/beszel_data
|
||||||
|
- {{beszel_data_dir}}/socket:/beszel_socket
|
||||||
networks:
|
networks:
|
||||||
- beszel-net
|
- beszel-net
|
||||||
- caddy_network
|
- caddy_network
|
||||||
|
|
||||||
|
beszel-agent:
|
||||||
|
image: henrygd/beszel-agent:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- {{beszel_data_dir}}/socket:/beszel_socket
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
LISTEN: /beszel_socket/beszel.sock
|
||||||
|
KEY: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHvh4PlT2gVh1dEOXn5C9NIjmhgEH/iSSMZpDj6SKTld'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
beszel-net:
|
beszel-net:
|
||||||
caddy_network:
|
caddy_network:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
name: monitoring
|
||||||
services:
|
services:
|
||||||
uptime-kuma:
|
uptime-kuma:
|
||||||
image: louislam/uptime-kuma:latest
|
image: louislam/uptime-kuma:latest
|
||||||
container_name: uptime-kuma
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- {{ uptime_kuma_data_dir }}:/app/data
|
- {{ uptime_kuma_data_dir }}:/app/data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user