Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Dependencies installed inside the container image.
node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Local environment files and secrets.
.env
.env.*
!.env.example

# Local test artifacts generated by test.sh/Approov CLI usage.
.config/
*.token
*.tok
*.time

# VCS, editor, and OS metadata.
.git
.gitignore
.gitattributes
.DS_Store
.idea/
.vscode/

# Files not needed by the runtime image.
README.md
LICENSE
test.sh
run-server.sh
Dockerfile
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# HTTP port the backend listens on
HTTP_PORT=8080

# Approov secret: approov secret -get base64url
APPROOV_BASE64URL_SECRET=approov_base64url_secret_here

# Localhost
SERVER_HOSTNAME=0.0.0.0

# Command that starts your server inside the container
APP_START_CMD=npm start
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ node_modules/
.env
packages/
!.gitkeep
.config/
Loading