39 lines
718 B
Plaintext
39 lines
718 B
Plaintext
logfile: /var/log/di/authentication-service.log
|
|
loglevel: info
|
|
|
|
database:
|
|
host: localhost
|
|
port: 3306
|
|
user: your-db-user
|
|
password: your-db-secret
|
|
name: your-db-name
|
|
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
password: your-redis-secret
|
|
database: 0
|
|
|
|
rest:
|
|
port: 8080
|
|
|
|
grpc:
|
|
port: 8098
|
|
|
|
template:
|
|
file-path: ./etc/email.tmpl
|
|
|
|
smtp:
|
|
host: smtp.host.com
|
|
port: 465
|
|
username: your-email@your-domain.com
|
|
pass: your-email-secret
|
|
sender: sending-email@your-domain.com
|
|
|
|
# generated rsa keys in pkcs1 or pkcs8 format:
|
|
# openssl genrsa -out key_rsa 4096
|
|
# openssl rsa -in app.rsa -pubout > key_rsa.pub
|
|
jwt:
|
|
private_key: /etc/key_rsa
|
|
public_key: /etc/key_rsa.pub
|