forked from ff522/dm-ticket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.release.yml
61 lines (54 loc) · 1.2 KB
/
docker-compose.release.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3"
networks:
dm_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.88.0.0/24
gateway: 172.88.0.1
services:
# https://github.com/ClassmateLin/dm-ticket
dm-ticket:
image: classmatelin/dm-ticket:v0.1.3
container_name: dm-ticket
restart: always
privileged: true
volumes:
- "./config:/src/config"
networks:
- dm_network
depends_on:
- token-server
- zzdns
dns: 172.88.0.3
environment:
RUST_LOG: "INFO"
TOKEN_SERVER_URL: "http://172.88.0.2:8080"
DNS_SERVER: "172.88.0.3"
zzdns:
# https://github.com/ClassmateLin/zzdns
image: classmatelin/zzdns:latest
restart: always
privileged: true
container_name: zzdns
volumes:
- "./zzdns:/usr/local/zzdns/config"
networks:
dm_network:
ipv4_address: 172.88.0.3
environment:
RUST_LOG: "info"
# ports:
# - "53:53/udp"
token-server:
image: classmatelin/alitoken-server:v0.1.1
restart: always
container_name: token-server
networks:
dm_network:
ipv4_address: 172.88.0.2
environment:
RUST_LOG: "info"
# ports:
# - "8080:8080"