Update compose.yaml
This commit is contained in:
parent
fd395aab79
commit
478e5cb534
1 changed files with 6 additions and 3 deletions
|
|
@ -27,6 +27,7 @@ services:
|
|||
restart: unless-stopped
|
||||
networks:
|
||||
- servatrice-net
|
||||
command: ["servatrice", "--config", "/config/servatrice.ini"]
|
||||
mariadb:
|
||||
image: mariadb:10.11
|
||||
container_name: servatrice-db
|
||||
|
|
@ -69,9 +70,6 @@ configs:
|
|||
serverversion=${SERVER_VERSION:-2.10.2}
|
||||
websocket_port=4748
|
||||
|
||||
[registration]
|
||||
enabled=true
|
||||
|
||||
[database]
|
||||
type=mysql
|
||||
hostname=mariadb
|
||||
|
|
@ -80,6 +78,10 @@ configs:
|
|||
user=${DB_USER:-servatrice}
|
||||
password=${DB_PASSWORD:-changeme}
|
||||
|
||||
[registration]
|
||||
enabled=true
|
||||
requireemailactivation=false
|
||||
|
||||
[security]
|
||||
enable_registration=${ENABLE_REGISTRATION:-true}
|
||||
enable_forgot_password=true
|
||||
|
|
@ -89,6 +91,7 @@ configs:
|
|||
|
||||
[authentication]
|
||||
method=sql
|
||||
regonly=true
|
||||
|
||||
[logging]
|
||||
log_level=${LOG_LEVEL:-info}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue