-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathdocker-compose.yml
34 lines (34 loc) · 910 Bytes
/
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
ambassador:
image: cpuguy83/docker-grand-ambassador
volumes:
- /var/run/docker.sock:/run/docker.sock
command: "-name tykquickstart_tyk_gateway_1 -name tykquickstart_tyk_dashboard_1"
tyk_gateway:
image: tykio/tyk-gateway:latest
links:
- tyk_redis:redis
- tyk_mongo:mongo
- ambassador:tyk_dashboard
ports:
- "80:8080"
- "8080:8080"
volumes:
- ./tyk.conf:/opt/tyk-gateway/tyk.conf
tyk_dashboard:
image: tykio/tyk-dashboard:latest
links:
- tyk_redis:redis
- tyk_mongo:mongo
- tyk_gateway:tyk_gateway
- ambassador:tyk_gateway
ports:
- "3000:3000"
volumes:
- ./tyk_analytics.conf:/opt/tyk-dashboard/tyk_analytics.conf
tyk_redis:
image: redis:latest
hostname: redis
tyk_mongo:
image: mongo:latest
command: ["mongod", "--smallfiles"]
hostname: mongo