Remove quotes from prod
This commit is contained in:
@@ -15,29 +15,29 @@
|
|||||||
### General
|
### General
|
||||||
|
|
||||||
# IP or host the API listens on ["0.0.0.0"]
|
# IP or host the API listens on ["0.0.0.0"]
|
||||||
HOST="0.0.0.0"
|
HOST=0.0.0.0
|
||||||
|
|
||||||
# The port Directus will run on [8055]
|
# The port Directus will run on [8055]
|
||||||
PORT=8055
|
PORT=8055
|
||||||
|
|
||||||
# The URL where your API can be reached on the web. It is also used for things like OAuth redirects,
|
# The URL where your API can be reached on the web. It is also used for things like OAuth redirects,
|
||||||
# forgot-password emails, and logos that needs to be publicly available on the internet. ["/"]
|
# forgot-password emails, and logos that needs to be publicly available on the internet. ["/"]
|
||||||
# PUBLIC_URL="http://localhost:8055"
|
# PUBLIC_URL=http://localhost:8055
|
||||||
PUBLIC_URL="http://admin.dev.civokram.com"
|
PUBLIC_URL=http://admin.dev.civokram.com
|
||||||
|
|
||||||
# What level of detail to log. [info]
|
# What level of detail to log. [info]
|
||||||
# "fatal", "error", "warn", "info", "debug", "trace", "silent"
|
# "fatal", "error", "warn", "info", "debug", "trace", "silent"
|
||||||
# LOG_LEVEL="info"
|
# LOG_LEVEL=info
|
||||||
|
|
||||||
# Render the logs human readable (pretty) or as JSON (raw), [pretty]
|
# Render the logs human readable (pretty) or as JSON (raw), [pretty]
|
||||||
# "pretty", "raw"
|
# "pretty", "raw"
|
||||||
# LOG_STYLE="pretty"
|
# LOG_STYLE=pretty
|
||||||
|
|
||||||
# Controls the maximum request body size. Accepts number of bytes, or human readable string ["1mb"]
|
# Controls the maximum request body size. Accepts number of bytes, or human readable string ["1mb"]
|
||||||
# MAX_PAYLOAD_SIZE="1mb"
|
# MAX_PAYLOAD_SIZE=1mb
|
||||||
|
|
||||||
# Where to redirect to when navigating to /. Accepts a relative path, absolute URL, or false to disable ["./admin"]
|
# Where to redirect to when navigating to /. Accepts a relative path, absolute URL, or false to disable ["./admin"]
|
||||||
# ROOT_REDIRECT="./admin"
|
# ROOT_REDIRECT=./admin
|
||||||
|
|
||||||
# Whether or not to serve the Admin App under /admin. [true]
|
# Whether or not to serve the Admin App under /admin. [true]
|
||||||
# SERVE_APP=true
|
# SERVE_APP=true
|
||||||
@@ -46,7 +46,7 @@ PUBLIC_URL="http://admin.dev.civokram.com"
|
|||||||
# GRAPHQL_INTROSPECTION=true
|
# GRAPHQL_INTROSPECTION=true
|
||||||
|
|
||||||
# The maximum number of items for batch mutations when creating, updating and deleting. ["Infinity"]
|
# The maximum number of items for batch mutations when creating, updating and deleting. ["Infinity"]
|
||||||
# MAX_BATCH_MUTATION="Infinity"
|
# MAX_BATCH_MUTATION=Infinity
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
### Database
|
### Database
|
||||||
@@ -55,66 +55,66 @@ PUBLIC_URL="http://admin.dev.civokram.com"
|
|||||||
# Based on your project's needs, you can extend the DB_* environment variables with any config
|
# Based on your project's needs, you can extend the DB_* environment variables with any config
|
||||||
# you need to pass to the database instance.
|
# you need to pass to the database instance.
|
||||||
|
|
||||||
DB_CLIENT="sqlite3"
|
DB_CLIENT=sqlite3
|
||||||
DB_FILENAME="/data/data.db"
|
DB_FILENAME=/data/data.db
|
||||||
|
|
||||||
## Postgres
|
## Postgres
|
||||||
# DB_CLIENT="pg"
|
# DB_CLIENT=pg
|
||||||
# DB_HOST="localhost"
|
# DB_HOST=localhost
|
||||||
# DB_PORT=5432
|
# DB_PORT=5432
|
||||||
# DB_DATABASE="directus"
|
# DB_DATABASE=directus
|
||||||
# DB_USER="postgres"
|
# DB_USER=postgres
|
||||||
# DB_PASSWORD="secret"
|
# DB_PASSWORD=secret
|
||||||
|
|
||||||
## CockroachDB
|
## CockroachDB
|
||||||
# DB_CLIENT="cockroachdb"
|
# DB_CLIENT=cockroachdb
|
||||||
# DB_HOST="localhost"
|
# DB_HOST=localhost
|
||||||
# DB_PORT=26257
|
# DB_PORT=26257
|
||||||
# DB_DATABASE="directus"
|
# DB_DATABASE=directus
|
||||||
# DB_USER="root"
|
# DB_USER=root
|
||||||
# DB_PASSWORD=""
|
# DB_PASSWORD=
|
||||||
|
|
||||||
## MySQL 8
|
## MySQL 8
|
||||||
# DB_CLIENT="mysql"
|
# DB_CLIENT=mysql
|
||||||
# DB_HOST="localhost"
|
# DB_HOST=localhost
|
||||||
# DB_PORT=3306
|
# DB_PORT=3306
|
||||||
# DB_DATABASE="directus"
|
# DB_DATABASE=directus
|
||||||
# DB_USER="root"
|
# DB_USER=root
|
||||||
# DB_PASSWORD="secret"
|
# DB_PASSWORD=secret
|
||||||
|
|
||||||
## MariaDB
|
## MariaDB
|
||||||
# DB_CLIENT="mysql"
|
# DB_CLIENT=mysql
|
||||||
# DB_HOST="localhost"
|
# DB_HOST=localhost
|
||||||
# DB_PORT=3306
|
# DB_PORT=3306
|
||||||
# DB_DATABASE="directus"
|
# DB_DATABASE=directus
|
||||||
# DB_USER="root"
|
# DB_USER=root
|
||||||
# DB_PASSWORD="secret"
|
# DB_PASSWORD=secret
|
||||||
|
|
||||||
## MS SQL
|
## MS SQL
|
||||||
# DB_CLIENT="mssql"
|
# DB_CLIENT=mssql
|
||||||
# DB_HOST="localhost"
|
# DB_HOST=localhost
|
||||||
# DB_PORT=1343
|
# DB_PORT=1343
|
||||||
# DB_DATABASE="directus"
|
# DB_DATABASE=directus
|
||||||
# DB_USER="sa"
|
# DB_USER=sa
|
||||||
# DB_PASSWORD="Test@123"
|
# DB_PASSWORD=Test@123
|
||||||
|
|
||||||
## OracleDB
|
## OracleDB
|
||||||
# DB_CLIENT="oracledb"
|
# DB_CLIENT=oracledb
|
||||||
# DB_CONNECT_STRING="localhost:1521/XE"
|
# DB_CONNECT_STRING=localhost:1521/XE
|
||||||
# DB_USER="secretsysuser"
|
# DB_USER=secretsysuser
|
||||||
# DB_PASSWORD="secretpassword"
|
# DB_PASSWORD=secretpassword
|
||||||
|
|
||||||
## SQLite Example
|
## SQLite Example
|
||||||
# DB_CLIENT="sqlite3"
|
# DB_CLIENT=sqlite3
|
||||||
# DB_FILENAME="./data.db"
|
# DB_FILENAME=./data.db
|
||||||
|
|
||||||
## MySQL 5.7
|
## MySQL 5.7
|
||||||
# DB_CLIENT="mysql"
|
# DB_CLIENT=mysql
|
||||||
# DB_HOST="localhost"
|
# DB_HOST=localhost
|
||||||
# DB_PORT=3306
|
# DB_PORT=3306
|
||||||
# DB_DATABASE="directus"
|
# DB_DATABASE=directus
|
||||||
# DB_USER="root"
|
# DB_USER=root
|
||||||
# DB_PASSWORD="secret"
|
# DB_PASSWORD=secret
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
### Rate Limiting
|
### Rate Limiting
|
||||||
@@ -125,8 +125,8 @@ RATE_LIMITER_ENABLED=false
|
|||||||
# Where to store the rate limiter counts [memory]
|
# Where to store the rate limiter counts [memory]
|
||||||
# memory, redis, memcache
|
# memory, redis, memcache
|
||||||
RATE_LIMITER_STORE=memory
|
RATE_LIMITER_STORE=memory
|
||||||
# RATE_LIMITER_REDIS="redis://@127.0.0.1:5105"
|
# RATE_LIMITER_REDIS=redis://@127.0.0.1:5105
|
||||||
# RATE_LIMITER_MEMCACHE="localhost:5109"
|
# RATE_LIMITER_MEMCACHE=localhost:5109
|
||||||
|
|
||||||
# The amount of allowed hits per duration [50]
|
# The amount of allowed hits per duration [50]
|
||||||
RATE_LIMITER_POINTS=25
|
RATE_LIMITER_POINTS=25
|
||||||
@@ -141,10 +141,10 @@ RATE_LIMITER_DURATION=1
|
|||||||
CACHE_ENABLED=false
|
CACHE_ENABLED=false
|
||||||
|
|
||||||
# How long the cache is persisted ["5m"]
|
# How long the cache is persisted ["5m"]
|
||||||
# CACHE_TTL="30m"
|
# CACHE_TTL=30m
|
||||||
|
|
||||||
# How to scope the cache data ["directus-cache"]
|
# How to scope the cache data ["directus-cache"]
|
||||||
# CACHE_NAMESPACE="directus-cache"
|
# CACHE_NAMESPACE=directus-cache
|
||||||
|
|
||||||
# Automatically purge the cache on create, update, and delete actions. [false]
|
# Automatically purge the cache on create, update, and delete actions. [false]
|
||||||
# CACHE_AUTO_PURGE=true
|
# CACHE_AUTO_PURGE=true
|
||||||
@@ -153,31 +153,31 @@ CACHE_ENABLED=false
|
|||||||
CACHE_STORE=memory
|
CACHE_STORE=memory
|
||||||
|
|
||||||
# How long assets will be cached for in the browser. Sets the max-age value of the Cache-Control header ["30d"]
|
# How long assets will be cached for in the browser. Sets the max-age value of the Cache-Control header ["30d"]
|
||||||
ASSETS_CACHE_TTL="30d"
|
ASSETS_CACHE_TTL=30d
|
||||||
|
|
||||||
# CACHE_REDIS="redis://@127.0.0.1:5105"
|
# CACHE_REDIS=redis://@127.0.0.1:5105
|
||||||
# CACHE_MEMCACHE="localhost:5109"
|
# CACHE_MEMCACHE=localhost:5109
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
### File Storage
|
### File Storage
|
||||||
|
|
||||||
# A CSV of storage locations (eg: local,digitalocean,amazon) to use. You can use any names you'd like for these keys ["local"]
|
# A CSV of storage locations (eg: local,digitalocean,amazon) to use. You can use any names you'd like for these keys ["local"]
|
||||||
STORAGE_LOCATIONS="local"
|
STORAGE_LOCATIONS=local
|
||||||
STORAGE_LOCAL_DRIVER="local"
|
STORAGE_LOCAL_DRIVER=local
|
||||||
STORAGE_LOCAL_ROOT="/data/uploads"
|
STORAGE_LOCAL_ROOT=/data/uploads
|
||||||
|
|
||||||
## S3 Example (location name: DigitalOcean)
|
## S3 Example (location name: DigitalOcean)
|
||||||
# STORAGE_DIGITALOCEAN_DRIVER="s3"
|
# STORAGE_DIGITALOCEAN_DRIVER=s3
|
||||||
# STORAGE_DIGITALOCEAN_KEY="abcdef"
|
# STORAGE_DIGITALOCEAN_KEY=abcdef
|
||||||
# STORAGE_DIGITALOCEAN_SECRET="ghijkl"
|
# STORAGE_DIGITALOCEAN_SECRET=ghijkl
|
||||||
# STORAGE_DIGITALOCEAN_ENDPOINT="https://ams3.digitaloceanspaces.com"
|
# STORAGE_DIGITALOCEAN_ENDPOINT=https://ams3.digitaloceanspaces.com
|
||||||
# STORAGE_DIGITALOCEAN_BUCKET="my-files"
|
# STORAGE_DIGITALOCEAN_BUCKET=my-files
|
||||||
# STORAGE_DIGITALOCEAN_REGION="ams3"
|
# STORAGE_DIGITALOCEAN_REGION=ams3
|
||||||
|
|
||||||
## Google Cloud Storage Example (location name: Google)
|
## Google Cloud Storage Example (location name: Google)
|
||||||
# STORAGE_GOOGLE_DRIVER="gcs"
|
# STORAGE_GOOGLE_DRIVER=gcs
|
||||||
# STORAGE_GOOGLE_KEY_FILENAME="abcdef"
|
# STORAGE_GOOGLE_KEY_FILENAME=abcdef
|
||||||
# STORAGE_GOOGLE_BUCKET="my-files"
|
# STORAGE_GOOGLE_BUCKET=my-files
|
||||||
|
|
||||||
## A comma-separated list of metadata keys to collect during file upload. Use * for all
|
## A comma-separated list of metadata keys to collect during file upload. Use * for all
|
||||||
# Extracting all metadata might cause memory issues when the file has an unusually large set of metadata
|
# Extracting all metadata might cause memory issues when the file has an unusually large set of metadata
|
||||||
@@ -188,27 +188,27 @@ STORAGE_LOCAL_ROOT="/data/uploads"
|
|||||||
### Security
|
### Security
|
||||||
|
|
||||||
# Unique identifier for the project
|
# Unique identifier for the project
|
||||||
# KEY="xxxxxxx-xxxxxx-xxxxxxxx-xxxxxxxxxx"
|
# KEY=xxxxxxx-xxxxxx-xxxxxxxx-xxxxxxxxxx
|
||||||
KEY="78457793-f4ea-4057-a9ae-87d0f6d32cc8"
|
KEY=78457793-f4ea-4057-a9ae-87d0f6d32cc8
|
||||||
|
|
||||||
# Secret string for the project
|
# Secret string for the project
|
||||||
# SECRET="abcdef"
|
# SECRET=abcdef
|
||||||
SECRET="cJweH2dRpkM515hQJZSR64jiYCb6QJrZ"
|
SECRET=cJweH2dRpkM515hQJZSR64jiYCb6QJrZ
|
||||||
|
|
||||||
# The duration that the access token is valid ["15m"]
|
# The duration that the access token is valid ["15m"]
|
||||||
ACCESS_TOKEN_TTL="15m"
|
ACCESS_TOKEN_TTL=15m
|
||||||
|
|
||||||
# The duration that the refresh token is valid, and also how long users stay logged-in to the App ["7d"]
|
# The duration that the refresh token is valid, and also how long users stay logged-in to the App ["7d"]
|
||||||
REFRESH_TOKEN_TTL="7d"
|
REFRESH_TOKEN_TTL=7d
|
||||||
|
|
||||||
# Whether or not to use a secure cookie for the refresh token in cookie mode [false]
|
# Whether or not to use a secure cookie for the refresh token in cookie mode [false]
|
||||||
REFRESH_TOKEN_COOKIE_SECURE=false
|
REFRESH_TOKEN_COOKIE_SECURE=false
|
||||||
|
|
||||||
# Value for sameSite in the refresh token cookie when in cookie mode ["lax"]
|
# Value for sameSite in the refresh token cookie when in cookie mode ["lax"]
|
||||||
REFRESH_TOKEN_COOKIE_SAME_SITE="lax"
|
REFRESH_TOKEN_COOKIE_SAME_SITE=lax
|
||||||
|
|
||||||
# Name of refresh token cookie ["directus_refresh_token"]
|
# Name of refresh token cookie ["directus_refresh_token"]
|
||||||
REFRESH_TOKEN_COOKIE_NAME="directus_refresh_token"
|
REFRESH_TOKEN_COOKIE_NAME=directus_refresh_token
|
||||||
|
|
||||||
# Which domain to use for the refresh cookie. Useful for development mode.
|
# Which domain to use for the refresh cookie. Useful for development mode.
|
||||||
# REFRESH_TOKEN_COOKIE_DOMAIN
|
# REFRESH_TOKEN_COOKIE_DOMAIN
|
||||||
@@ -263,27 +263,27 @@ CORS_MAX_AGE=18000
|
|||||||
### Auth Providers
|
### Auth Providers
|
||||||
|
|
||||||
# A comma-separated list of auth providers []
|
# A comma-separated list of auth providers []
|
||||||
AUTH_PROVIDERS=""
|
AUTH_PROVIDERS=
|
||||||
# AUTH_PROVIDERS="github"
|
# AUTH_PROVIDERS=github
|
||||||
|
|
||||||
# AUTH_GITHUB_DRIVER="oauth2"
|
# AUTH_GITHUB_DRIVER=oauth2
|
||||||
# AUTH_GITHUB_CLIENT_ID="73e...4b"
|
# AUTH_GITHUB_CLIENT_ID=73e...4b
|
||||||
# AUTH_GITHUB_CLIENT_SECRET="b9...98"
|
# AUTH_GITHUB_CLIENT_SECRET=b9...98
|
||||||
# AUTH_GITHUB_AUTHORIZE_URL="https://github.com/login/oauth/authorize"
|
# AUTH_GITHUB_AUTHORIZE_URL=https://github.com/login/oauth/authorize
|
||||||
# AUTH_GITHUB_ACCESS_URL="https://github.com/login/oauth/access_token"
|
# AUTH_GITHUB_ACCESS_URL=https://github.com/login/oauth/access_token
|
||||||
# AUTH_GITHUB_PROFILE_URL="https://api.github.com/user"
|
# AUTH_GITHUB_PROFILE_URL=https://api.github.com/user
|
||||||
# AUTH_GITHUB_ALLOW_PUBLIC_REGISTRATION=true
|
# AUTH_GITHUB_ALLOW_PUBLIC_REGISTRATION=true
|
||||||
# AUTH_GITHUB_DEFAULT_ROLE_ID="82424427-c9d4-4289-8bc5-ed1bf8422c90"
|
# AUTH_GITHUB_DEFAULT_ROLE_ID=82424427-c9d4-4289-8bc5-ed1bf8422c90
|
||||||
# AUTH_GITHUB_ICON="github"
|
# AUTH_GITHUB_ICON=github
|
||||||
# AUTH_GITHUB_LABEL="GitHub"
|
# AUTH_GITHUB_LABEL=GitHub
|
||||||
# AUTH_GITHUB_EMAIL_KEY="email"
|
# AUTH_GITHUB_EMAIL_KEY=email
|
||||||
# AUTH_GITHUB_IDENTIFIER_KEY="login"
|
# AUTH_GITHUB_IDENTIFIER_KEY=login
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
### Extensions
|
### Extensions
|
||||||
|
|
||||||
# Path to your local extensions folder ["./extensions"]
|
# Path to your local extensions folder ["./extensions"]
|
||||||
EXTENSIONS_PATH="./extensions"
|
EXTENSIONS_PATH=./extensions
|
||||||
|
|
||||||
# Automatically reload extensions when they have changed [false]
|
# Automatically reload extensions when they have changed [false]
|
||||||
EXTENSIONS_AUTO_RELOAD=false
|
EXTENSIONS_AUTO_RELOAD=false
|
||||||
@@ -292,36 +292,36 @@ EXTENSIONS_AUTO_RELOAD=false
|
|||||||
### Email
|
### Email
|
||||||
|
|
||||||
# Email address from which emails are sent ["no-reply@directus.io"]
|
# Email address from which emails are sent ["no-reply@directus.io"]
|
||||||
EMAIL_FROM="no-reply@directus.io"
|
EMAIL_FROM=no-reply@directus.io
|
||||||
|
|
||||||
# What to use to send emails. One of
|
# What to use to send emails. One of
|
||||||
# sendmail, smtp, mailgun, sendgrid, ses.
|
# sendmail, smtp, mailgun, sendgrid, ses.
|
||||||
EMAIL_TRANSPORT="sendmail"
|
EMAIL_TRANSPORT=sendmail
|
||||||
EMAIL_SENDMAIL_NEW_LINE="unix"
|
EMAIL_SENDMAIL_NEW_LINE=unix
|
||||||
EMAIL_SENDMAIL_PATH="/usr/sbin/sendmail"
|
EMAIL_SENDMAIL_PATH=/usr/sbin/sendmail
|
||||||
|
|
||||||
## Email (Sendmail Transport)
|
## Email (Sendmail Transport)
|
||||||
|
|
||||||
# What new line style to use in sendmail ["unix"]
|
# What new line style to use in sendmail ["unix"]
|
||||||
# EMAIL_SENDMAIL_NEW_LINE="unix"
|
# EMAIL_SENDMAIL_NEW_LINE=unix
|
||||||
|
|
||||||
# Path to your sendmail executable ["/usr/sbin/sendmail"]
|
# Path to your sendmail executable ["/usr/sbin/sendmail"]
|
||||||
# EMAIL_SENDMAIL_PATH="/usr/sbin/sendmail"
|
# EMAIL_SENDMAIL_PATH=/usr/sbin/sendmail
|
||||||
|
|
||||||
## Email (SMTP Transport)
|
## Email (SMTP Transport)
|
||||||
# EMAIL_SMTP_HOST="localhost"
|
# EMAIL_SMTP_HOST=localhost
|
||||||
|
|
||||||
# Use SMTP pooling
|
# Use SMTP pooling
|
||||||
# EMAIL_SMTP_POOL=true
|
# EMAIL_SMTP_POOL=true
|
||||||
# EMAIL_SMTP_PORT=465
|
# EMAIL_SMTP_PORT=465
|
||||||
# EMAIL_SMTP_SECURE=false # Use TLS
|
# EMAIL_SMTP_SECURE=false # Use TLS
|
||||||
# EMAIL_SMTP_IGNORE_TLS=false
|
# EMAIL_SMTP_IGNORE_TLS=false
|
||||||
# EMAIL_SMTP_USER="username"
|
# EMAIL_SMTP_USER=username
|
||||||
# EMAIL_SMTP_PASSWORD="password"
|
# EMAIL_SMTP_PASSWORD=password
|
||||||
|
|
||||||
## Email (Mailgun Transport)
|
## Email (Mailgun Transport)
|
||||||
# EMAIL_MAILGUN_API_KEY="key-1234123412341234"
|
# EMAIL_MAILGUN_API_KEY=key-1234123412341234
|
||||||
# EMAIL_MAILGUN_DOMAIN="a domain name from https://app.mailgun.com/app/sending/domains"
|
# EMAIL_MAILGUN_DOMAIN=a domain name from https://app.mailgun.com/app/sending/domains
|
||||||
|
|
||||||
## Email (SendGrid Transport)
|
## Email (SendGrid Transport)
|
||||||
# EMAIL_SENDGRID_API_KEY="key-1234123412341234"
|
# EMAIL_SENDGRID_API_KEY=key-1234123412341234
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
# The URL where your API can be reached on the web.
|
# The URL where your API can be reached on the web.
|
||||||
NEXT_PUBLIC_DIRECTUS_API_URL="https://pca-pijac.dev.civokram.com"
|
NEXT_PUBLIC_DIRECTUS_API_URL=https://pca-pijac.dev.civokram.com
|
||||||
NEXT_PUBLIC_GLOBALS_ID="4f8d9e66-ec95-4bdd-a5e7-34df8ea68a45"
|
NEXT_PUBLIC_GLOBALS_ID=4f8d9e66-ec95-4bdd-a5e7-34df8ea68a45
|
||||||
|
|||||||
Reference in New Issue
Block a user