configurable url

This commit is contained in:
Stefan Hardegger
2025-07-24 08:03:56 +02:00
parent 4bbc14d165
commit 77ad643eac
15 changed files with 257 additions and 26 deletions

View File

@@ -21,7 +21,7 @@ services:
frontend:
build: ./frontend
environment:
- NEXT_PUBLIC_API_URL=http://backend:8080/api
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-/api}
depends_on:
- backend
networks:
@@ -39,7 +39,7 @@ services:
- TYPESENSE_PORT=8108
- IMAGE_STORAGE_PATH=/app/images
- APP_PASSWORD=${APP_PASSWORD}
- STORYCOVE_CORS_ALLOWED_ORIGINS=https://storycove.sharyavin.synology.me,http://localhost:3000
- STORYCOVE_CORS_ALLOWED_ORIGINS=${STORYCOVE_CORS_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:6925}
volumes:
- images_data:/app/images
depends_on: