Add .dockerignore and update Dockerfile and compose.yaml for SSH key handling
This commit is contained in:
12
compose.yaml
12
compose.yaml
@@ -1,6 +1,14 @@
|
||||
services:
|
||||
auto-boot-ollama-host:
|
||||
build: .
|
||||
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:
|
||||
@@ -11,8 +19,6 @@ services:
|
||||
WOL_MAC: "${WOL_MAC}"
|
||||
WOL_BCAST: "${WOL_BCAST:-192.168.222.255}" # optional
|
||||
WOL_PORT: "${WOL_PORT:-9}" # optional
|
||||
#SSH_PUBLIC_KEY: "${SSH_PUBLIC_KEY}"
|
||||
#SSH_PRIVATE_KEY: "${SSH_PRIVATE_KEY}"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
Reference in New Issue
Block a user