Files
preauth/docs/compose.yaml
T
andrew ac817649ab fixed bug which can occur if you delete cache files.
fixed warnings due to volume locations.
2025-12-26 21:17:36 -05:00

26 lines
727 B
YAML

services:
preauth:
env_file:
# TODO rename "env.example" 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 /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-config:/config
- preauth-data:/data
volumes:
preauth-config:
preauth-data: