docker updates

This commit is contained in:
Henry Dollman
2024-07-22 10:40:54 -04:00
parent a0bb97f3e8
commit 8f4659b356
3 changed files with 10 additions and 10 deletions

View File

@@ -27,16 +27,16 @@ export function AddSystemButton() {
function copyDockerCompose(port: string) {
copyToClipboard(`services:
beszel-agent:
image: 'henrygd/beszel-agent'
container_name: 'beszel-agent'
image: "henrygd/beszel-agent"
container_name: "beszel-agent"
restart: unless-stopped
network_mode: host
volumes:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- PORT=${port}
- KEY="${publicKey}"
# - FILESYSTEM=/dev/sda1 # set to the correct filesystem for disk I/O stats`)
PORT: ${port}
KEY: "${publicKey}"
# FILESYSTEM: /dev/sda1 # set to the correct filesystem for disk I/O stats`)
}
useEffect(() => {