1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Read config from env.

This commit is contained in:
Ferdinand Mütsch
2019-05-06 00:58:01 +02:00
parent 5247255d67
commit b403d4105f
4 changed files with 46 additions and 22 deletions

5
.env.example Normal file
View File

@@ -0,0 +1,5 @@
WAKAPI_PORT=3000
WAKAPI_DB_USER=myuser
WAKAPI_DB_PASSWORD=mysecretpassword
WAKAPI_DB_HOST=localhost
WAKAPI_DB_NAME=wakapi_db