Docker: migrate from bind mounts to named volumes

This commit is contained in:
Marko Korhonen 2024-02-24 00:39:27 +02:00
parent ee97d8a590
commit 944de98b4a
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
18 changed files with 143 additions and 62 deletions

View file

@ -1,10 +1,13 @@
[volumes]
config = {}
[services.searx]
container_name = "searx"
image = "searxng/searxng"
restart = "unless-stopped"
networks = ["searx", "proxy"]
volumes = [
"/docker/searx:/etc/searxng",
"config:/etc/searxng",
#"/docker/searx/logo.png:/usr/local/searxng/searx/static/themes/simple/img/searxng.png:ro"
]
environment = ["SEARXNG_BASE_URL=https://search.korhonen.cc/"]