chore: build image in docker compose

this makes it possible to run development build using Docker.
This commit is contained in:
Shishkevich D. 2025-06-13 15:25:13 +07:00 committed by GitHub
parent 4531574de3
commit 13baf77893
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,10 @@
services:
3x-ui:
image: ghcr.io/mhsanaei/3x-ui:latest
container_name: 3x-ui
hostname: yourhostname
3xui:
build:
context: .
dockerfile: ./Dockerfile
container_name: 3xui_app
# hostname: yourhostname <- optional
volumes:
- $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/