-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
74 lines (74 loc) · 1.59 KB
/
docker-compose.yaml
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
version: '3.8'
networks:
piplin:
driver: bridge
services:
# nsqlookupd:
# image: nsqio/nsq
# command: /nsqlookupd
# networks:
# - piplin
# ports:
# - "4160:4160"
# - "4161:4161"
# nsqd:
# image: nsqio/nsq
# command: /nsqd --lookupd-tcp-address=nsqlookupd:4160
# networks:
# - piplin
# depends_on:
# - nsqlookupd
# ports:
# - "4150:4150"
# - "4151:4151"
# nsqadmin:
# image: nsqio/nsq
# networks:
# - piplin
# command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
# depends_on:
# - nsqlookupd
# ports:
# - "4171:4171"
redis:
image: redis
networks:
- piplin
ports:
- "6379:6379"
mysql:
image: mysql/mysql-server
volumes:
- ./storage/mysql:/var/lib/mysql
networks:
- piplin
environment:
MYSQL_ROOT_PASSWORD: "123456"
MYSQL_DATABASE: piplin
MYSQL_USER: piplin
MYSQL_PASSWORD: password
MYSQL_ROOT_HOST: '%'
# ports:
# - "3306:3306"
server:
restart: always
image: qbhy/piplin:latest
# image: registry.cn-hangzhou.aliyuncs.com/janguly/piplin:latest
volumes:
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
- ./env.toml:/var/www/env.toml
- ./storage:/var/www/storage
ports:
- "8008:8008"
depends_on:
- mysql
- redis
networks:
- piplin
views:
image: qbhy/piplin-views:latest
# image: registry.cn-hangzhou.aliyuncs.com/janguly/piplin-views:latest
networks:
- piplin
ports:
- "8000:80"