diff --git a/notes/vps设置.md b/notes/vps设置.md index 180fa16..cd20348 100644 --- a/notes/vps设置.md +++ b/notes/vps设置.md @@ -1,3 +1,6 @@ +## TODO +- 之后用caddy,不要用nginx了 + ## swap file ``` cd /var @@ -182,7 +185,15 @@ docker stats ```shell # monitoring # https://glances.readthedocs.io/en/latest/index.html -glances +docker run \ + --restart="always" \ + -p 61208-61209:61208-61209 \ + -e GLANCES_OPT="-w" \ + -v /etc/os-release:/etc/os-release:ro \ + -v /var/run/docker.sock:/var/run/docker.sock:ro \ + -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro \ + --pid host \ + docker.io/nicolargo/glances # https://github.com/pldubouilh/gossa cd ~/softwares/gossa @@ -203,4 +214,9 @@ docker-compose up # https://shaarli.readthedocs.io/en/master/Docker.html cd ~/softwares/shaarli sh docker-up.sh + +# https://github.com/redlib-org/redlib/blob/main/compose.yaml +cd ~/softwares/redlib +touch .env +docker compose up ``` \ No newline at end of file