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 : /path/to/volume/of/app/var` # #user: : volumes: - preauth-config:/config - preauth-data:/data volumes: preauth-config: preauth-data: