mirror of
https://github.com/C4illin/ConvertX.git
synced 2025-10-23 04:52:18 +00:00
21 lines
1.2 KiB
YAML
21 lines
1.2 KiB
YAML
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=Europe/Stockholm # set your timezone, defaults to UTC
|
|
# - UNAUTHENTICATED_USER_SHARING=true # for use with ALLOW_UNAUTHENTICATED=true to share history with all unauthenticated users / devices
|
|
ports:
|
|
- 3000:3000
|