mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-07-01 12:32:09 +00:00
chore: build image in docker compose
this makes it possible to run development build using Docker.
This commit is contained in:
parent
4531574de3
commit
13baf77893
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,10 @@
|
||||||
services:
|
services:
|
||||||
3x-ui:
|
3xui:
|
||||||
image: ghcr.io/mhsanaei/3x-ui:latest
|
build:
|
||||||
container_name: 3x-ui
|
context: .
|
||||||
hostname: yourhostname
|
dockerfile: ./Dockerfile
|
||||||
|
container_name: 3xui_app
|
||||||
|
# hostname: yourhostname <- optional
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD/db/:/etc/x-ui/
|
- $PWD/db/:/etc/x-ui/
|
||||||
- $PWD/cert/:/root/cert/
|
- $PWD/cert/:/root/cert/
|
||||||
|
|
Loading…
Reference in a new issue