Add option to always unlock the premium version

This commit is contained in:
Jonas Lochmann 2020-08-03 02:00:00 +02:00
parent f8b4fc77a5
commit a73af1338e
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36
8 changed files with 24 additions and 11 deletions

View file

@ -48,7 +48,9 @@
- DISABLE_SIGNUP
- ``yes`` or ``no`` (default: no)
- disables creating new families if ``yes`` is selected
- the default value is ``no``
- ALWAYS_PRO
- ``yes`` or ``no`` (default: ``no``)
- if ``yes``, then the features of the premium version are unlocked for all users
- PING_INTERVAL_SEC
- ping interval at the websocket in seconds
- the default value is ``25``

View file

@ -23,6 +23,7 @@ services:
PORT: 8080
MAIL_SENDER: me@my.timelimit.server
MAIL_TRANSPORT: '{"host": "localhost", "port": 25}'
ALWAYS_PRO: yes
# put additional config variables here
ports:
- "8080:8080"
@ -68,6 +69,7 @@ services:
PORT: 8080
MAIL_SENDER: me@my.timelimit.server
MAIL_TRANSPORT: '{"host": "localhost", "port": 25}'
ALWAYS_PRO: yes
# put additional config variables here
restart: always
# you can enable logging during testing by commenting this out,