-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
67 lines (61 loc) · 1.62 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
version: '3'
services:
# to enable the management plugin (web)
# docker exec fz_rabbitmq rabbitmq-plugins enable rabbitmq_management
rabbitmq:
hostname: fz_rabbitmq
container_name: fz_rabbitmq
image: rabbitmq:alpine
environment:
- RABBITMQ_DEFAULT_USER=root
- RABBITMQ_DEFAULT_PASS=root
- RABBITMQ_ERLANG_COOKIE=fzcookie
ports:
- "10001:15672"
- "10002:5672"
webserver:
container_name: fz_webserver
image: fz/webserver:latest
environment:
- AURELIALOCATION=/opt/aurelia
- SSLPATH=/opt/shiro/self.keystore
- SSLPASS=some-password
build:
context: .
dockerfile: ./.docker/webserver/file.dockerfile
ports:
- "9080:8880"
- "9443:8443"
apigateway:
container_name: fz_apigateway
image: fz/apigateway:latest
environment:
- RABBIT_HOST=fz_rabbitmq
- RABBIT_USER=root
- RABBIT_PASS=root
- RABBIT_PORT=10002
- DOMAIN=localhost
- REMEMBERME=Tzhfrprwksieaxxw
- HASHSERVICE=LnnjousalfizuleiPsiyzzwpelvbnfpo
- SESSIONDURATION=3600000
- SSLPATH=/opt/shiro/self.keystore
- SSLPASS=some-password
- CORS=*
build:
context: .
dockerfile: ./.docker/apigateway/file.dockerfile
ports:
- "8089:8089"
- "8090:8090"
members:
container_name: fz_members
image: fz/members:latest
environment:
- RABBIT_HOST=fz_rabbitmq
- RABBIT_USER=root
- RABBIT_PASS=root
- RABBIT_PORT=10002
- HASHSERVICE=LnnjousalfizuleiPsiyzzwpelvbnfpo
build:
context: .
dockerfile: ./.docker/members/file.dockerfile