From 87ef835ed0e65ff84b4e4d5e5b2f4e8e0da37d74 Mon Sep 17 00:00:00 2001 From: Colin Hill Date: Thu, 24 Oct 2024 16:36:57 -0400 Subject: [PATCH] Adding hints for Coolify config into docker-compose.yaml --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index f9aad432..ff452833 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,15 @@ services: environment: - NODE_ENV=production - COMPOSE_PROFILES=production + # No strictly neded but serving as hints for Coolify + - PORT=5173 + - GROQ_API_KEY=${GROQ_API_KEY} + - OPENAI_API_KEY=${OPENAI_API_KEY} + - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} + - OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY} + - GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} + - OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL} + - VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug} command: pnpm run dockerstart profiles: - production # This service only runs in the production profile @@ -22,6 +31,14 @@ services: environment: - NODE_ENV=development - COMPOSE_PROFILES=development + - PORT=5173 + - GROQ_API_KEY=${GROQ_API_KEY} + - OPENAI_API_KEY=${OPENAI_API_KEY} + - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} + - OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY} + - GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} + - OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL} + - VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug} volumes: - .:/app - /app/node_modules