Compare commits

...

2 commits

Author SHA1 Message Date
Bankz1990
bb2c7d3030
Merge branch 'main' into main 2025-06-13 17:50:16 +07:00
Shishkevich D.
13baf77893
chore: build image in docker compose
this makes it possible to run development build using Docker.
2025-06-13 15:25:13 +07:00

View file

@ -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/