-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
89 lines (83 loc) · 2.03 KB
/
docker-compose.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3.3"
services:
redis:
image: extvos/redis:latest
environment:
REDIS_PROTECTED_MODE: "no"
REDIS_DATABASE: 24
REDIS_PASSWORD: 'quickstart.extvos'
TZ: Asia/Shanghai
ports:
- "6379:6379"
postgresql:
image: extvos/postgresql:latest
environment:
REPLICATION_ROLE: master
POSTGRES_DB: quickdb
POSTGRES_PASSWORD: 'quickstart.extvos'
TZ: Asia/Shanghai
volumes:
- "./data/postgres:/var/lib/postgresql/data"
ports:
- "5432:5432"
emqx:
image: extvos/emqx:latest
environment:
TZ: Asia/Shanghai
ports:
- "1883:1883"
# - "8081:8081"
# - "8083:8083"
# - "8883:8883"
- "18083:18083"
clickhouse:
image: yandex/clickhouse-server
volumes:
- "./data/clickhouse:/var/lib/clickhouse"
- "./data/log:/var/log"
ulimits:
nofile: 262144
ports:
- 9000:9000
- 9009:9009
- 8123:8123
environment:
CLICKHOUSE_USER: admin
CLICKHOUSE_PASSWORD: 'quickstart.extvos'
TZ: Asia/Shanghai
quick-demo:
image: java:8
depends_on:
- postgresql
- redis
environment:
SERVICE_NAME: quick-demo
SERVER_PORT: 8080
POSTGRES_HOST: postgresql
POSTGRES_DATABASE: quickdb
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: 'quickstart.extvos'
REDIS_HOST: redis
REDIS_DATABASE: 1
REDIS_PASSWORD: 'quickstart.extvos'
AUTH_BASE_URL: http://work.cygnux.cn
volumes:
- "./data/log:/var/log"
- "./data/files:/home/data"
- "./demo/target/quick-demo-app-0.0.1-SNAPSHOT.jar:/home/boot.jar"
command: ["java", "-jar", "/home/boot.jar"]
nginx:
image: extvos/nginx:latest
depends_on:
- quick-demo
environment:
TZ: Asia/Shanghai
volumes:
- "./nginx/sites.d:/etc/nginx/sites.d"
- "./nginx/cert:/etc/nginx/cert"
- "./data/files:/home/data"
- "./data/log:/var/log/nginx"
- "./htmldocs:/var/lib/nginx/html"
ports:
- "80:80"
- "443:443"