From e9a9271d2f20513106cca44cf253ea6065f673bd Mon Sep 17 00:00:00 2001 From: mr-forust Date: Thu, 21 May 2026 22:00:39 +0200 Subject: [PATCH] WIP: feat: convertx compose layout --- convertx/compose.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 convertx/compose.yaml diff --git a/convertx/compose.yaml b/convertx/compose.yaml new file mode 100644 index 0000000..b6bf9d5 --- /dev/null +++ b/convertx/compose.yaml @@ -0,0 +1,43 @@ +services: + convertx: + container_name: convertx + image: ghcr.io/c4illin/convertx:latest + restart: unless-stopped + ports: + - "9992:3000" + # https://github.com/C4illin/ConvertX#environment-variables + environment: + - JWT_SECRET=$(JWT_SECRET) + - ACCOUNT_REGISTRATION=$(ACCOUNT_REGISTRATION:-false) + - HTTP_ALLOWED=$(HTTP_ALLOWED:-false) + - ALLOW_UNAUTHENTICATED=$(ALLOW_UNAUTHENTICATED:-false) + - AUTO_DELETE_EVERY_N_HOURS=$(AUTO_DELETE_EVERY_N_HOURS:-24) + - WEBROOT=$(WEBROOT) + - HIDE_HISTORY=$(HIDE_HISTORY:-false) + - LANGUAGE=$(LANGUAGE:-en) + - UNAUTHENTICATED_USER_SHARING=$(UNAUTHENTICATED_USER_SHARING:-false) + - MAX_CONVERT_PROCESS=$(MAX_CONVERT_PROCESS:-0) + labels: + - "traefik.enable=true" + - "traefik.http.services.convertx.loadbalancer.server.port=3000" + # Prod Router + - "traefik.http.routers.convertx.rule=Host(`convert.forust.xyz`)" + - "traefik.http.routers.convertx.entrypoints=websecure" + - "traefik.http.routers.convertx.tls=true" + # Local Router + - "traefik.http.routers.convertx-local.rule=Host(`convert.workstation.internal`)" + - "traefik.http.routers.convertx-local.entrypoints=websecure" + - "traefik.http.routers.convertx-local.tls=true" + # Dev Router + - "traefik.http.routers.convertx-dev.rule=Host(`convertx.gigaforust.internal`)" + - "traefik.http.routers.convertx-dev.entrypoints=websecure" + - "traefik.http.routers.convertx-dev.tls=true" + networks: + - proxy + volumes: + - data:/app/data +networks: + proxy: + external: true +volumes: + data: \ No newline at end of file