Add Redis, correct Nginx

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2016-12-28 22:54:22 +01:00
parent abd8c9b6c9
commit 2a07613c75
1 changed files with 18 additions and 8 deletions

View File

@ -41,16 +41,13 @@ mainflux-mqtt:
- nats
###
# Mainflux NGINX Proxy
# Redis
###
mainflux-nginx:
image: mainflux/mainflux-nginx:latest
container_name: mainflux-nginx
links:
- mainflux-auth
- mainflux-core
redis:
image: redis:alpine
container_name: mainflux-redis
ports:
- "6969:6969"
- "6379:6379"
###
# Mainflux Auth Server
@ -59,6 +56,7 @@ mainflux-auth:
image: mainflux/mainflux-auth:latest
container_name: mainflux-auth
links:
- redis
- nats
ports:
- "8180:8180"
@ -74,3 +72,15 @@ mainflux-core:
- nats
ports:
- "7070:7070"
###
# Mainflux NGINX Proxy
###
nginx:
image: mainflux/mainflux-nginx:latest
container_name: mainflux-nginx
links:
- mainflux-auth
- mainflux-core
ports:
- "6969:6969"