forked from coolnnek/s-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 804 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
services:
s-ui:
image: alireza7/s-ui
container_name: s-ui
hostname: "S-UI docker"
volumes:
- "singbox:/app/bin"
- "$PWD/db:/app/db"
- "$PWD/cert:/app/cert"
environment:
SINGBOX_API: "sing-box:1080"
SUI_DB_FOLDER: "db"
tty: true
restart: unless-stopped
ports:
- "2095:2095"
- "2096:2096"
networks:
- s-ui
entrypoint: "./sui migrate && ./sui"
sing-box:
image: alireza7/s-ui-singbox
container_name: sing-box
volumes:
- "singbox:/app/"
- "$PWD/cert:/cert"
networks:
- s-ui
ports:
- "443:443"
- "1443:1443"
- "2443:2443"
- "3443:3443"
restart: unless-stopped
depends_on:
- s-ui
networks:
s-ui:
driver: bridge
volumes:
singbox: