Skip to content

Commit

Permalink
chore: .env file edited
Browse files Browse the repository at this point in the history
  • Loading branch information
doandroidsdreamof committed Jun 11, 2024
1 parent 28c9f1e commit e09d9a5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
11 changes: 10 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,13 @@ database
.env.development
.github
**/*.github
build.yml
build.yml

.tmp/
.cache/
.git/
build/
node_modules/
.env
data/
backup/
26 changes: 26 additions & 0 deletions .env.development.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
HOST=0.0.0.0
PORT=1337
APP_KEYS=
API_TOKEN_SALT=
ADMIN_JWT_SECRET=
TRANSFER_TOKEN_SALT=
# openssl rand -hex 32
JWT_SECRET=

# Database
DATABASE_CLIENT=postgres
DATABASE_HOST=postgres
DATABASE_PORT=5432
DATABASE_NAME=strapi
DATABASE_USERNAME=strapi
DATABASE_PASSWORD=strapi
DATABASE_SSL=false
NODE_ENV=development

DATABASE_POOL_MIN=2
DATABASE_POOL_MAX=10
DATABASE_CONNECTION_TIMEOUT=60000

DEV_URL=http://localhost:1337
PROD_URL=
PROD_URL_ADMIN=
13 changes: 4 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ APP_KEYS=
API_TOKEN_SALT=
ADMIN_JWT_SECRET=
TRANSFER_TOKEN_SALT=
# openssl rand -hex 32
JWT_SECRET=

# Database
Expand All @@ -16,22 +17,16 @@ DATABASE_PASSWORD=strapi
DATABASE_SSL=false # For test purpose this should be true
NODE_ENV=production

POSTGRES_PORT=5432
POSTGRES_PASSWORD=strapi
POSTGRES_CONTAINER=postgres
POSTGRES_DB=strapi #127.0.0.1
POSTGRES_USER=strapi

#TODO search these parameters
#TODO seach these parameters
DATABASE_POOL_MIN=2
DATABASE_POOL_MAX=10
DATABASE_CONNECTION_TIMEOUT=60000

# New relic
# New relic for production
LICENSE_KEY=



PROD_URL=
DEV_URL=
PROD_URL_ADMIN=
PROD_URL_ADMIN=

0 comments on commit e09d9a5

Please sign in to comment.