refactor docker

This commit is contained in:
Hiddify
2024-03-14 23:44:36 +01:00
parent ec9efac57c
commit 16a5191d2c
8 changed files with 88 additions and 60 deletions

14
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
version: '3.8'
services:
hiddify:
image: ghcr.io/hiddify/hiddify-next-core/cli:latest
ports:
- "2334:2334"
- "6756:6756"
- "6450:6450"
environment:
CONFIG: "https://raw.githubusercontent.com/ircfspace/warpsub/main/export/warp#WARP%20(IRCF)"
volumes:
- ./data/:/hiddify/data/
command: ["/opt/hiddify.sh"]