modified: Dockerfile modified: composer.json modified: composer.lock modified: config/packages/twig.yaml modified: config/services.yaml modified: docs/Caddyfile modified: docs/compose.yaml renamed: docs/env.example -> docs/example.env modified: public/index.php modified: readme.md modified: src/Command/GenerateBackupCodesCommand.php modified: src/ConfigBag.php modified: src/Data/Payload.php modified: src/Enum/Scope.php modified: src/Listener/AcceptListener.php modified: src/Listener/AllowListener.php modified: src/Listener/InterceptListener.php modified: src/Listener/LoginListener.php modified: src/MonitorCacheKeys.php modified: src/PersistCache.php modified: src/Service/BackupCodeManager.php modified: src/Service/DomainManager.php new file: src/Service/LoginManager.php modified: src/Trait/CookieNameTrait.php modified: src/Trait/GetTotpTrait.php modified: src/Trait/MakeNonceTrait.php modified: src/Trait/StringTrait.php modified: src/Utilities.php modified: templates/_script.html.twig modified: templates/_style.html.twig modified: templates/base.html.twig modified: templates/login.html.twig
23 lines
602 B
YAML
23 lines
602 B
YAML
services:
|
|
preauth:
|
|
env_file:
|
|
# TODO rename "example.env" to ".env", edit as needed
|
|
# strongly recommend setting TOTP_URI, if not provided the app
|
|
# will generate one for you, please copy it into your .env file
|
|
- .env
|
|
expose:
|
|
- 80
|
|
image: digitaladapt/preauth:latest
|
|
restart: unless-stopped
|
|
# if you wish to set the user, you must make sure that the user
|
|
# can write to /config and /data within the container
|
|
#user: <uid>:<gid>
|
|
volumes:
|
|
- preauth-config:/config
|
|
- preauth-data:/data
|
|
|
|
volumes:
|
|
preauth-config:
|
|
preauth-data:
|
|
|