Add docker service for the api + env variables + ...

This commit is contained in:
2020-04-30 12:11:00 +02:00
parent a2ac8d19af
commit 8cf8457a54
6 changed files with 48 additions and 16 deletions
+5 -5
View File
@@ -1,18 +1,18 @@
env: staging
database:
host: 127.0.0.1
host: ${MYSQL_HOST}
port: 3306
name: Notes
username: test
password: test
name: ${MYSQL_DATABASE}
username: ${MYSQL_USER}
password: ${MYSQL_PASSWORD}
server:
host: 0.0.0.0
port: 8081
jwt:
secret: ${random.string(25)}
secret: ${JWT_SECRET}
auth:
validity: 1
unit: HOURS