mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-15 01:25:00 +03:00
chore: edit docker-compose.yml file
+4
-5
@@ -32,12 +32,13 @@ $ cd panel
|
|||||||
`compose.yml`
|
`compose.yml`
|
||||||
```yml
|
```yml
|
||||||
services:
|
services:
|
||||||
panel:
|
3xui:
|
||||||
image: ghcr.io/mhsanaei/3x-ui:latest
|
image: ghcr.io/mhsanaei/3x-ui:latest
|
||||||
container_name: 3xui_app
|
container_name: 3xui_app
|
||||||
|
# hostname: yourhostname <- optional
|
||||||
volumes:
|
volumes:
|
||||||
- ~/panel/db/:/etc/x-ui/
|
- $PWD/db/:/etc/x-ui/
|
||||||
- ~/panel/cert/:/root/cert/
|
- $PWD/cert/:/root/cert/
|
||||||
environment:
|
environment:
|
||||||
XRAY_VMESS_AEAD_FORCED: "false"
|
XRAY_VMESS_AEAD_FORCED: "false"
|
||||||
XUI_ENABLE_FAIL2BAN: "true"
|
XUI_ENABLE_FAIL2BAN: "true"
|
||||||
@@ -46,8 +47,6 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
5. Start the Docker container using the following command.
|
5. Start the Docker container using the following command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user