Files
preauth/docs/compose.yaml
T

24 lines
677 B
YAML

services:
preauth:
env_file:
# TODO rename ".env.example" to just ".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 /app/var/ within the container, and that all files
# and folders within are writable as well
# IE: `$chown -R <uid>:<gid> /path/to/volume/of/app/var`
#
#user: <uid>:<gid>
volumes:
- preauth:/app/var
volumes:
preauth: