diff --git a/compose.yaml b/compose.yaml index f239cc7..c5ea4fe 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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}