-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.49 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.49 KB
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
version: '2.1'
services:
eureka:
build: ./discovery-server/target
ports:
- 1111:8080
read_only: true
volumes:
- /tmp
gateway:
build: ./gateway/target
environment:
DISCOVERY_SERVER: http://eureka:8080/eureka/
ports:
- 8080:8080
depends_on:
- eureka
- servicea
read_only: true
volumes:
- /tmp
servicea:
build: ./service-a/target
environment:
DISCOVERY_SERVER: http://eureka:8080/eureka/
depends_on:
- eureka
read_only: true
volumes:
- /tmp
logging:
driver: "gelf"
options:
gelf-address: "udp://127.0.0.1:12201"
tag: "service-a"
# Logging Stuff
# user/pass: admin/admin
some-mongo:
image: "mongo:3"
volumes:
- ./mongo-data:/data/db
some-elasticsearch:
image: "elasticsearch:2"
command: "elasticsearch -Des.cluster.name='graylog'"
graylog:
image: graylog2/server:2.1.1-1
environment:
GRAYLOG_PASSWORD_SECRET: somepasswordpepper
GRAYLOG_ROOT_PASSWORD_SHA2: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
GRAYLOG_WEB_ENDPOINT_URI: http://127.0.0.1:9000/api
links:
- some-mongo:mongo
- some-elasticsearch:elasticsearch
ports:
- "9000:9000"
- "12201:12201/udp"