diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-06-13 11:25:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-13 11:25:13 +0300 |
| commit | 13baf778931929fdf1bc1f7d5606c7d73d5d917e (patch) | |
| tree | a296fd333deba1834d1fba3e5039a933bc980e53 | |
| parent | 4531574de39887e149fe702cd76e2b2d01738632 (diff) | |
chore: build image in docker compose
this makes it possible to run development build using Docker.
| -rw-r--r-- | docker-compose.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index e27a735e..198df198 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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/ |
