You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
services:
|
|
auto-boot-ollama-host:
|
|
build:
|
|
context: .
|
|
args:
|
|
# Build-time only (sourced from your .env)
|
|
SSH_PUBLIC_KEY: "${SSH_PUBLIC_KEY}"
|
|
SSH_PRIVATE_KEY: "${SSH_PRIVATE_KEY}"
|
|
OLLAMA_HOST: "${OLLAMA_HOST:-192.168.222.12}"
|
|
OLLAMA_PORT: "${OLLAMA_PORT:-11434}"
|
|
SINCE: "${SINCE:-0s}"
|
|
container_name: auto-boot-ollama-host
|
|
network_mode: host
|
|
environment:
|
|
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: "${WOL_BCAST:-192.168.222.255}" # optional
|
|
WOL_PORT: "${WOL_PORT:-9}" # optional
|
|
USE_LUAJIT: "${USE_LUAJIT:-true}" # optional: use LuaJIT for better performance (default: true)
|
|
SSH_USER: "${SSH_USER:-user}"
|
|
SSH_STRICT_HOST_KEY_CHECKING: "${SSH_STRICT_HOST_KEY_CHECKING:-no}" # optional: SSH host key verification (default: no)
|
|
SSH_KNOWN_HOSTS_FILE: "${SSH_KNOWN_HOSTS_FILE:-/root/.ssh/known_hosts}" # optional: SSH known hosts file path (default: /root/.ssh/known_hosts)
|
|
DEBUG: "${DEBUG:-false}"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|