Skip to content

Commit 5dc8a69

Browse files
committed
improvement(docker): add internal api secret to docker compose
1 parent b0fbf36 commit 5dc8a69

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker-compose.local.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
- NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL:-http://localhost:3000}
1717
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-your_auth_secret_here}
1818
- ENCRYPTION_KEY=${ENCRYPTION_KEY:-your_encryption_key_here}
19+
- INTERNAL_API_SECRET=${INTERNAL_API_SECRET:-dev-internal-api-secret-min-32-chars}
1920
- COPILOT_API_KEY=${COPILOT_API_KEY}
2021
- SIM_AGENT_API_URL=${SIM_AGENT_API_URL}
2122
- OLLAMA_URL=${OLLAMA_URL:-http://localhost:11434}
@@ -43,6 +44,7 @@ services:
4344
- NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL:-http://localhost:3000}
4445
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:3000}
4546
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-your_auth_secret_here}
47+
- INTERNAL_API_SECRET=${INTERNAL_API_SECRET:-dev-internal-api-secret-min-32-chars}
4648
depends_on:
4749
db:
4850
condition: service_healthy

docker-compose.prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
- NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL:-http://localhost:3000}
1616
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-your_auth_secret_here}
1717
- ENCRYPTION_KEY=${ENCRYPTION_KEY:-your_encryption_key_here}
18+
- INTERNAL_API_SECRET=${INTERNAL_API_SECRET}
1819
- COPILOT_API_KEY=${COPILOT_API_KEY}
1920
- SIM_AGENT_API_URL=${SIM_AGENT_API_URL}
2021
- OLLAMA_URL=${OLLAMA_URL:-http://localhost:11434}
@@ -48,6 +49,7 @@ services:
4849
- NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL:-http://localhost:3000}
4950
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:3000}
5051
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-your_auth_secret_here}
52+
- INTERNAL_API_SECRET=${INTERNAL_API_SECRET}
5153
depends_on:
5254
db:
5355
condition: service_healthy

0 commit comments

Comments
 (0)