diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 7ab4e7b..b23fd50 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -40,6 +40,7 @@ services: # effect on the already-bundled client code. build: args: + GITEA_NPM_OWNER: ${GITEA_NPM_OWNER:-learning_ai_user} NEXT_PUBLIC_NOTES_API_URL: "http://127.0.0.1:4016/api" NEXT_PUBLIC_PLATFORM_SERVICE_URL: "http://127.0.0.1:4003/api" NEXT_PUBLIC_EXTRACTION_SERVICE_URL: "http://127.0.0.1:4005" diff --git a/docker-compose.yml b/docker-compose.yml index bd0d031..b653404 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,12 +40,14 @@ services: timeout: 5s retries: 3 + start_period: 30s web: container_name: notelett-web build: context: . dockerfile: web/Dockerfile args: + GITEA_NPM_OWNER: ${GITEA_NPM_OWNER:-learning_ai_user} # NEXT_PUBLIC_* values are baked into the Next.js bundle at build # time, so they MUST be passed as build args, not just runtime # environment. The defaults below target a local stack; override