Skip to content

Commit

Permalink
add env example file
Browse files Browse the repository at this point in the history
  • Loading branch information
targoninc-alex committed Oct 3, 2024
1 parent cd89f85 commit 9cd8e53
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SESSION_SECRET=somesecret
MYSQL_ROOT_PASSWORD=myrootpassword
MYSQL_DATABASE=venel
MYSQL_USER=root
MYSQL_PASSWORD=myrootpassword
MYSQL_HOST=localhost
ALLOW_FREE_REGISTRATION=true
UI_DEPLOYMENT_URL=http://localhost:3001
WEBSOCKET_URL=ws://127.0.0.1:8912
FILE_FOLDER=/files
MAX_PAYLOAD_SIZE_MB=100
FILE_PASSWORD=somefilepassword
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/node_modules
*.env*
*.env
*.env.prod
*.js
*.js.map

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This guide assumes you have Docker and Docker Compose installed and running on y

## Environment variables

Create a `.env` file in the root of the project with the following content:
Create a `.env` file in the root of the project with the following content (you can find a copy of this in `.env.example`):
```apacheconf
MYSQL_HOST=mariadb
MYSQL_ROOT_PASSWORD=myrootpassword
Expand Down

0 comments on commit 9cd8e53

Please sign in to comment.