32 lines
2.1 KiB
YAML
32 lines
2.1 KiB
YAML
# This compose file is for development and testing purposes only. See README for production deployment instructions.
|
|
|
|
services:
|
|
convertx:
|
|
build:
|
|
context: .
|
|
# dockerfile: Debian.Dockerfile
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment: # Defaults are listed below. All are optional.
|
|
- ACCOUNT_REGISTRATION=true # true or false, doesn't matter for the first account (e.g. keep this to false if you only want one account)
|
|
- JWT_SECRET=aLongAndSecretStringUsedToSignTheJSONWebToken1234 # will use randomUUID() by default
|
|
- HTTP_ALLOWED=false # setting this to true is unsafe, only set this to true locally
|
|
- ALLOW_UNAUTHENTICATED=false # allows anyone to use the service without logging in, only set this to true locally
|
|
- AUTO_DELETE_EVERY_N_HOURS=1 # checks every n hours for files older then n hours and deletes them, set to 0 to disable
|
|
# - FFMPEG_ARGS=-hwaccel vulkan # additional arguments to pass to ffmpeg
|
|
# - WEBROOT=/convertx # the root path of the web interface, leave empty to disable
|
|
# - HIDE_HISTORY=true # hides the history tab in the web interface, defaults to false
|
|
- TZ=Asia/Kolkata # set your timezone, defaults to UTC
|
|
# - UNAUTHENTICATED_USER_SHARING=true # for use with ALLOW_UNAUTHENTICATED=true to share history with all unauthenticated users / devices
|
|
# OIDC / SSO login (e.g. Authentik) - set all four of these to enable the "Login with ..." button
|
|
# never commit real client IDs/secrets here - put them in a local, gitignored .env file instead
|
|
# - OIDC_ISSUER=https://authentik.example.com/application/o/convertx/ # the provider's issuer URL
|
|
# - OIDC_CLIENT_ID=your-client-id
|
|
# - OIDC_CLIENT_SECRET=your-client-secret
|
|
# - OIDC_REDIRECT_URI=https://convertx.example.com/login/oidc/callback # must match the redirect URI registered with the provider exactly
|
|
# - OIDC_SCOPES=openid profile email # defaults to "openid profile email"
|
|
# - OIDC_NAME=Authentik # button label, defaults to "SSO"
|
|
# - OIDC_ONLY=true # hides local email/password login and registration entirely, only allow login via OIDC
|
|
ports:
|
|
- 3000:3000
|