[GH-ISSUE #4057] Additional environment variables to control web-panel #2752

Closed
opened 2026-10-31 20:27:42 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @the-vindicar on GitHub (Apr 21, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4057

I'm setting up a nginx+certbot+3xui stack via docker compose, with SSL certificates being managed by separate certbot instance rather than 3xui itself. Currently I have to launch the web-panel for the first time with one docker configuration, configure it via web-interface, then edit compose file accordingly to changes made and restart teh container.

Describe the solution you'd like

Env variables can be set directly from compose file, ensuring that network configuration and panel settings are always in sync. Thus it'd be good to be able to control the following parameters via environment variables.

The parameters are:

  • web-panel listen domain/ip/port
  • web-panel path prefix (URI Path)
  • SSL cert and privkey path
  • subscription path prefix (URI Path)
  • if possible, admin credentials

Describe alternatives you've considered

No response

Checklist

  • This feature report is written entirely in English.
Originally created by @the-vindicar on GitHub (Apr 21, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4057 ### Is your feature request related to a problem? I'm setting up a nginx+certbot+3xui stack via docker compose, with SSL certificates being managed by separate certbot instance rather than 3xui itself. Currently I have to launch the web-panel for the first time with one docker configuration, configure it via web-interface, then edit compose file accordingly to changes made and restart teh container. ### Describe the solution you'd like Env variables can be set directly from compose file, ensuring that network configuration and panel settings are always in sync. Thus it'd be good to be able to control the following parameters via environment variables. The parameters are: - web-panel listen domain/ip/port - web-panel path prefix (URI Path) - SSL cert and privkey path - subscription path prefix (URI Path) - if possible, admin credentials ### Describe alternatives you've considered _No response_ ### Checklist - [x] This feature report is written entirely in English.
bsakaguchi 2026-10-31 20:27:42 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2752
No description provided.