Refactor environment variable definitions in compose.yaml for consistency and clarity; clean up commented code in auto-boot-ollama-host.sh
This commit is contained in:
13
compose.yaml
13
compose.yaml
@@ -4,14 +4,13 @@ services:
|
||||
container_name: auto-boot-ollama-host
|
||||
network_mode: host
|
||||
environment:
|
||||
# customize as needed
|
||||
CONTAINER_NAME: "paperless-ai"
|
||||
OLLAMA_HOST: "192.168.222.12"
|
||||
OLLAMA_PORT: "11434"
|
||||
SINCE: "0s"
|
||||
CONTAINER_NAME: "${CONTAINER_NAME:-paperless-ai}"
|
||||
OLLAMA_HOST: "${OLLAMA_HOST:-192.168.222.12}"
|
||||
OLLAMA_PORT: "${OLLAMA_PORT:-11434}"
|
||||
SINCE: "${SINCE:-0s}"
|
||||
WOL_MAC: "${WOL_MAC}"
|
||||
#WOL_BCAST: "192.168.222.255" # optional (defaults unten)
|
||||
#WOL_PORT: "9" # optional
|
||||
WOL_BCAST: "${WOL_BCAST:-192.168.222.255}" # optional
|
||||
WOL_PORT: "${WOL_PORT:-9}" # optional
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
Reference in New Issue
Block a user