Move hardcoded secrets to .env files for dns-updateip, docker-registry, openclaw

- dns-updateip: APIKEY now uses ${APIKEY} substitution
- docker-registry: SECRET_KEY_BASE now uses ${SECRET_KEY_BASE} substitution
- openclaw: OPENCLAW_GATEWAY_TOKEN now uses ${OPENCLAW_GATEWAY_TOKEN} substitution
- Add .env.example templates for backrest, dns-updateip, docker-registry, openclaw
This commit is contained in:
2026-02-18 19:02:01 +00:00
parent 5f704441fb
commit 2544694586
7 changed files with 9 additions and 10 deletions
+2
View File
@@ -0,0 +1,2 @@
SMB_USERNAME=your_smb_username
SMB_PASSWORD=your_smb_password
+1
View File
@@ -0,0 +1 @@
APIKEY=your_dnsexit_api_key
+1 -1
View File
@@ -9,6 +9,6 @@ services:
tty: true
environment:
- APIKEY=s5P998CqUu5bqAukdS1dW57EfjgFlX
- APIKEY=${APIKEY}
- HOST=kolpacksoftware.com,rmstsa.org,popcyclical.com
- INTERVAL=1h
+1
View File
@@ -0,0 +1 @@
SECRET_KEY_BASE=generate_with_openssl_rand_-hex_64
+1 -1
View File
@@ -12,7 +12,7 @@ services:
environment:
- DOCKER_REGISTRY_URL=https://docker-registry.kolpacksoftware.com/
- PUBLIC_REGISTRY_URL=https://docker-registry.kolpacksoftware.com/
- SECRET_KEY_BASE=0c11bc7a755901fcbb5ba0ef5e6ede0911452e9c944d4ab0d8eb3ee1cf8ff7dd4f8fee82615415f5dc665763c6b18b3b8aee6655f44388bc27b27624f218bf86
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- ENABLE_DELETE_IMAGES=true
- VIRTUAL_HOST=docker-registry-ui.kolpacksoftware.com
- VIRTUAL_PORT=8080
+2 -7
View File
@@ -1,7 +1,2 @@
# Generate a random token for gateway authentication
# You can use: openssl rand -hex 32
OPENCLAW_GATEWAY_TOKEN=your-gateway-token-here
# Ollama Configuration
# OpenClaw will connect to Ollama running at http://ollama:11434
# Make sure Ollama is running and has models pulled (e.g., llama3, mistral)
# OpenClaw Gateway Token (auto-generated or set manually)
OPENCLAW_GATEWAY_TOKEN=your_gateway_token
+1 -1
View File
@@ -11,7 +11,7 @@ services:
- TZ=America/New_York
- PUID=1000
- PGID=1000
- OPENCLAW_GATEWAY_TOKEN=27d4e63adce6c8f7c5396e8ca3f9ec5e6ff590077247fb11da03a8684ee3c711
- OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
- OPENCLAW_GATEWAY_BIND=lan
- OPENCLAW_AGENT_PROVIDER=ollama
- OPENCLAW_AGENT_MODEL=llama3