Update work with env variables
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
3x-ui:
|
||||
image: ghcr.io/mhsanaei/3x-ui:3.4.2
|
||||
container_name: 3x-ui
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- ./data/3x-ui/db/:/etc/x-ui/
|
||||
- ./data/3x-ui/cert/:/root/cert/
|
||||
tty: true
|
||||
ports:
|
||||
- 2053:2053
|
||||
- 41060:41060
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.3x-ui.loadbalancer.server.port=20530"
|
||||
- "traefik.http.routers.3x-ui.rule=Host(`{3X_UI_HOST}`)"
|
||||
- "traefik.http.routers.3x-ui.entrypoints=websecure"
|
||||
- "traefik.http.routers.3x-ui.tls.certresolver=le"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
external: true
|
||||
Reference in New Issue
Block a user