feat(.well-known): add .well-known/immich to reference API endpoint

This commit is contained in:
Connery Noble
2023-01-11 17:30:01 -08:00
parent b9b2b559a1
commit 6962df6340
14 changed files with 119 additions and 23 deletions
+18
View File
@@ -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
+2
View File
@@ -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
+1
View File
@@ -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:
+1
View File
@@ -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: