configurable url
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user