-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
72 lines (65 loc) · 1.33 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
services:
tyk-plugin-compiler:
image: tykio/tyk-plugin-compiler:${TYK_VERSION}
platform: linux/amd64
volumes:
- ./go/src:/plugin-source
tyk-gateway:
image: tykio/tyk-gateway:${TYK_VERSION}
platform: linux/amd64
ports:
- "8080:8080"
volumes:
- ./tyk/bundle:/opt/tyk-gateway/bundle
- ./tyk/middleware:/opt/tyk-gateway/middleware
env_file:
- ./tyk/confs/tyk.env
environment:
- SOME_CONFIG_DATA=some-config-data-from-env
networks:
- tyk
tyk-pump:
image: tykio/tyk-pump-docker-pub:v1.8.3
depends_on:
- tyk-gateway
- tyk-mongo
- tyk-redis
env_file:
- ./tyk/confs/pump.env
networks:
- tyk
tyk-dashboard:
image: tykio/tyk-dashboard:${TYK_VERSION}
depends_on:
- tyk-gateway
- tyk-pump
ports:
- "3000:3000"
env_file:
- ./tyk/confs/tyk_analytics.env
environment:
- TYK_DB_LICENSEKEY=${TYK_LICENSE_KEY}
networks:
- tyk
tyk-mongo:
image: mongo:4.0
command: [ "mongod", "--smallfiles" ]
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
networks:
- tyk
tyk-redis:
image: redis
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- tyk
volumes:
mongo-data:
redis-data:
networks:
tyk: