mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 01:39:34 +08:00
docker updates
This commit is contained in:
@@ -7,6 +7,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
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 # set to the correct filesystem for disk I/O stats
|
||||||
|
@@ -31,4 +31,4 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|
||||||
ENTRYPOINT [ "/beszel" ]
|
ENTRYPOINT [ "/beszel" ]
|
||||||
CMD ["serve", "--http=0.0.0.0:8090"]
|
CMD ["serve", "--http=localhost:8090"]
|
@@ -27,16 +27,16 @@ export function AddSystemButton() {
|
|||||||
function copyDockerCompose(port: string) {
|
function copyDockerCompose(port: string) {
|
||||||
copyToClipboard(`services:
|
copyToClipboard(`services:
|
||||||
beszel-agent:
|
beszel-agent:
|
||||||
image: 'henrygd/beszel-agent'
|
image: "henrygd/beszel-agent"
|
||||||
container_name: 'beszel-agent'
|
container_name: "beszel-agent"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
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 # set to the correct filesystem for disk I/O stats`)
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Reference in New Issue
Block a user