Added additional env configuration options for api server. Changed the tailwind run command to use the non-interactive build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
**/.idea/**
|
**/.idea/**
|
||||||
**/data/**
|
**/data/**
|
||||||
**/.env
|
**/.env
|
||||||
|
**/additional.env
|
||||||
@@ -78,7 +78,7 @@ FROM build-plugins AS build-final
|
|||||||
|
|
||||||
# Build tailwind
|
# Build tailwind
|
||||||
WORKDIR /src/Moonlight/Moonlight.Client/Styles
|
WORKDIR /src/Moonlight/Moonlight.Client/Styles
|
||||||
RUN npm run tailwind
|
RUN npm run tailwind-build
|
||||||
|
|
||||||
# Build moonlight
|
# Build moonlight
|
||||||
WORKDIR "/src/Moonlight/Moonlight.ApiServer"
|
WORKDIR "/src/Moonlight/Moonlight.ApiServer"
|
||||||
|
|||||||
@@ -22,11 +22,14 @@ services:
|
|||||||
- MOONLIGHT_DATABASE_DATABASE=${MOONLIGHT_DATABASE_NAME}
|
- MOONLIGHT_DATABASE_DATABASE=${MOONLIGHT_DATABASE_NAME}
|
||||||
- MOONLIGHT_PUBLICURL=${MOONLIGHT_URL}
|
- MOONLIGHT_PUBLICURL=${MOONLIGHT_URL}
|
||||||
- MOONLIGHT_AUTHENTICATION_OAUTH2_ACCESSENDPOINT=http://localhost:8080/oauth2/handle # Use this when moonlight is using local oauth2 and a different port as the public url
|
- MOONLIGHT_AUTHENTICATION_OAUTH2_ACCESSENDPOINT=http://localhost:8080/oauth2/handle # Use this when moonlight is using local oauth2 and a different port as the public url
|
||||||
|
env_file:
|
||||||
|
- path: "additional.env"
|
||||||
|
required: false
|
||||||
volumes:
|
volumes:
|
||||||
- ${MOONLIGHT_DATA}/moonlight:/app/storage
|
- ${MOONLIGHT_DATA}/moonlight:/app/storage
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
pull_policy: build
|
pull_policy: ${MOONLIGHT_BUILD}
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user