Skip to main content
Version: v1.6.48

Environment Variables

When deploying, quick deployment using environment variables is supported.

Supported Configurations

The following environment variables are supported for customizing your AMMDS deployment:

Variable NameDefault ValueDescription
NGINX_PORT80Nginx service port (for Host network)
AMMDS_SERVER_PORT8080AMMDS server port (for Host network)
ADMIN_USERammdsAdministrator username (prohibited from modification)
ADMIN_PASSammdsAdministrator password (only takes effect during first installation)
AMMDS_SYSTEM_MODEfullSystem running mode: full mode (full), backend-only mode (backend), API mode (api)
AMMDS_SERVICE_ADDRESS(no default)Actual access address of the system
AMMDS_SCHEDULER_ENABLEtrueEnable scheduled tasks
AMMDS_MONITOR_ENABLEtrueEnable directory monitoring
AMMDS_NETWORK_TIMEOUT60Network request timeout (unit: seconds)
AMMDS_MAX_FILE_SIZE10MBMaximum file size in a single request
AMMDS_MAX_REQUEST_SIZE100MBMaximum request body size
AMMDS_IYUU_TOKEN(no default)[Plugin] IYUU authorization code
AMMDS_METATUBE_URL(no default)[Plugin] MetaTube plugin service address
AMMDS_METATUBE_TOKEN(no default)[Plugin] MetaTube authorization code
AMMDS_PROWLARR_URL(no default)[Plugin] Prowlarr plugin service address
AMMDS_PROWLARR_TOKEN(no default)[Plugin] Prowlarr authorization code
AMMDS_QBITTORRENT_URL(no default)[Plugin] qBittorrent plugin service address
AMMDS_QBITTORRENT_USERNAME(no default)[Plugin] qBittorrent username
AMMDS_QBITTORRENT_PASSWORD(no default)[Plugin] qBittorrent password
AMMDS_TELEGRAM_BOT_TOKEN(no default)[Plugin] Telegram Bot authorization code
AMMDS_TELEGRAM_CHAT_ID(no default)[Plugin] Telegram Chat ID
warning

Regarding URL configuration, do not carry / as an ending symbol at the end.

Environment variables take precedence over WebUI configuration.