update agent docker-compose.yml

This commit is contained in:
Henry Dollman
2024-09-01 18:50:38 -04:00
parent 953d7cac1e
commit 8ffb3a0cc8
2 changed files with 6 additions and 2 deletions

View File

@@ -33,10 +33,12 @@ export function AddSystemButton({ className }: { className?: string }) {
network_mode: host network_mode: host
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
# monitor other disks / partitions by mounting a folder in /extra-filesystems
# - /mnt/disk1/.beszel:/extra-filesystems/disk1:ro
environment: environment:
PORT: ${port} PORT: ${port}
KEY: "${publicKey}" KEY: "${publicKey}"
# FILESYSTEM: /dev/sda1 # set to the correct filesystem for disk I/O stats`) # FILESYSTEM: /dev/sda1 # override the root partition / device for disk I/O stats`)
} }
async function handleSubmit(e: SubmitEvent) { async function handleSubmit(e: SubmitEvent) {

View File

@@ -6,7 +6,9 @@ services:
network_mode: host network_mode: host
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
# monitor other disks / partitions by mounting a folder in /extra-filesystems
# - /mnt/disk1/.beszel:/extra-filesystems/disk1:ro
environment: environment:
PORT: 45876 PORT: 45876
KEY: 'ssh-ed25519 YOUR_PUBLIC_KEY' KEY: 'ssh-ed25519 YOUR_PUBLIC_KEY'
# FILESYSTEM: /dev/sda1 # set to the correct filesystem for disk I/O stats # FILESYSTEM: /dev/sda1 # override the root partition / device for disk I/O stats