feat(.well-known): add .well-known/immich to reference API endpoint
This commit is contained in:
@@ -76,3 +76,21 @@ PUBLIC_LOGIN_PAGE_MESSAGE=
|
||||
IMMICH_WEB_URL=http://immich-web:3000
|
||||
IMMICH_SERVER_URL=http://immich-server:3001
|
||||
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
|
||||
|
||||
####################################################################################
|
||||
# Public Facing API Server URL - Optional
|
||||
#
|
||||
# This should point to the publicly accessible URL of the API (default is "/api")
|
||||
# Use a full URL here if you want to serve the API via a dedicated domain.
|
||||
####################################################################################
|
||||
|
||||
IMMICH_SERVER_PUBLIC_URL=/api
|
||||
|
||||
####################################################################################
|
||||
# API Cors Allowed Origins - Optional
|
||||
#
|
||||
# This is required if the API is served from a different domain than the website.
|
||||
# For example, if IMMICH_SERVER_PUBLIC_URL is set to a full URL.
|
||||
####################################################################################
|
||||
|
||||
ALLOW_CORS_ORIGIN=http://localhost:2283
|
||||
@@ -14,6 +14,7 @@ services:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- /usr/src/app/node_modules
|
||||
ports:
|
||||
- 3001:3001
|
||||
- 9230:9230
|
||||
env_file:
|
||||
- .env
|
||||
@@ -75,6 +76,7 @@ services:
|
||||
environment:
|
||||
# Rename these values for svelte public interface
|
||||
- PUBLIC_IMMICH_SERVER_URL=${IMMICH_SERVER_URL}
|
||||
- PUBLIC_IMMICH_SERVER_PUBLIC_URL=${IMMICH_SERVER_PUBLIC_URL}
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 24678:24678
|
||||
|
||||
@@ -54,6 +54,7 @@ services:
|
||||
environment:
|
||||
# Rename these values for svelte public interface
|
||||
- PUBLIC_IMMICH_SERVER_URL=${IMMICH_SERVER_URL}
|
||||
- PUBLIC_IMMICH_SERVER_PUBLIC_URL=${IMMICH_SERVER_PUBLIC_URL}
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
|
||||
@@ -54,6 +54,7 @@ services:
|
||||
environment:
|
||||
# Rename these values for svelte public interface
|
||||
- PUBLIC_IMMICH_SERVER_URL=${IMMICH_SERVER_URL}
|
||||
- PUBLIC_IMMICH_SERVER_PUBLIC_URL=${IMMICH_SERVER_PUBLIC_URL}
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
|
||||
Reference in New Issue
Block a user