forked from jmug/cactoide
fix: add necesery envs
This commit is contained in:
12
.env.example
12
.env.example
@@ -4,10 +4,20 @@ POSTGRES_USER=cactoide
|
|||||||
POSTGRES_PASSWORD=cactoide_password
|
POSTGRES_PASSWORD=cactoide_password
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
|
|
||||||
# Application configuration
|
|
||||||
DATABASE_URL="postgres://cactoide:cactoide_password@localhost:5432/cactoide_database"
|
DATABASE_URL="postgres://cactoide:cactoide_password@localhost:5432/cactoide_database"
|
||||||
|
|
||||||
|
# Application configuration
|
||||||
APP_VERSION=latest
|
APP_VERSION=latest
|
||||||
PORT=5173
|
PORT=5173
|
||||||
HOSTNAME=0.0.0.0
|
HOSTNAME=0.0.0.0
|
||||||
|
|
||||||
|
# Logger configuration
|
||||||
|
LOG_PRETTY=true
|
||||||
|
LOG_LEVEL=trace
|
||||||
|
|
||||||
|
# If you don't want to use the default home page you can turn off
|
||||||
|
# in this case the /discovery page remain the home of your site
|
||||||
PUBLIC_LANDING_INFO=true
|
PUBLIC_LANDING_INFO=true
|
||||||
|
|
||||||
|
# Federation config
|
||||||
|
FEDERATION_INSTANCE=true
|
||||||
|
|||||||
1
.github/workflows/build-and-push.yml
vendored
1
.github/workflows/build-and-push.yml
vendored
@@ -61,6 +61,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
build-args: |
|
build-args: |
|
||||||
|
FEDERATION_INSTANCE=${{ vars.FEDERATION_INSTANCE }}
|
||||||
PUBLIC_LANDING_INFO=${{ vars.PUBLIC_LANDING_INFO }}
|
PUBLIC_LANDING_INFO=${{ vars.PUBLIC_LANDING_INFO }}
|
||||||
LOG_PRETTY=${{ vars.LOG_PRETTY }}
|
LOG_PRETTY=${{ vars.LOG_PRETTY }}
|
||||||
LOG_LEVEL=${{ vars.LOG_LEVEL }}
|
LOG_LEVEL=${{ vars.LOG_LEVEL }}
|
||||||
|
|||||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -29,6 +29,7 @@ jobs:
|
|||||||
- name: Build application
|
- name: Build application
|
||||||
run: npm run build
|
run: npm run build
|
||||||
env:
|
env:
|
||||||
|
FEDERATION_INSTANCE: ${{ vars.FEDERATION_INSTANCE }}
|
||||||
PUBLIC_LANDING_INFO: ${{ vars.PUBLIC_LANDING_INFO }}
|
PUBLIC_LANDING_INFO: ${{ vars.PUBLIC_LANDING_INFO }}
|
||||||
LOG_PRETTY: ${{ vars.LOG_PRETTY }}
|
LOG_PRETTY: ${{ vars.LOG_PRETTY }}
|
||||||
LOG_LEVEL: ${{ vars.LOG_LEVEL }}
|
LOG_LEVEL: ${{ vars.LOG_LEVEL }}
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ RUN npm ci
|
|||||||
ARG PUBLIC_LANDING_INFO
|
ARG PUBLIC_LANDING_INFO
|
||||||
ENV PUBLIC_LANDING_INFO=$PUBLIC_LANDING_INFO
|
ENV PUBLIC_LANDING_INFO=$PUBLIC_LANDING_INFO
|
||||||
|
|
||||||
|
ARG FEDERATION_INSTANCE
|
||||||
|
ENV FEDERATION_INSTANCE=$FEDERATION_INSTANCE
|
||||||
|
|
||||||
ARG LOG_PRETTY
|
ARG LOG_PRETTY
|
||||||
ENV LOG_PRETTY=$LOG_PRETTY
|
ENV LOG_PRETTY=$LOG_PRETTY
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user