enable host networking + docker.sock

This commit is contained in:
♥ Minnie ♥ 2023-07-29 08:30:44 +08:00
parent 8d4689df27
commit 2b9c3b7b4c
3 changed files with 4 additions and 0 deletions

View file

@ -8,7 +8,9 @@
volumes = [
"/srv/containers/homepage:/app/config"
"/srv/data:/srv/data:ro"
"/var/run/docker.sock:/var/run/docker.sock" # pass local proxy
];
ports = [ "3000:3000" ];
extraOptions = ["--network=host"];
};
}