docker-compose fixes

This commit is contained in:
Aleksander Cynarski 2018-06-08 16:07:39 +02:00
parent 2fdc6edb77
commit 55f4721837

View File

@ -2,7 +2,7 @@ version: '2'
services:
consul:
image: consul
container_name: consul
container_name: consul_elena
command: consul agent -server -dev -client=0.0.0.0 -ui -bootstrap -log-level warn -datacenter dev
environment:
SERVICE_8400_NAME: consul
@ -17,7 +17,7 @@ services:
- "8600:8600/udp"
registrator:
container_name: registrator
container_name: registrator_elena
depends_on:
- consul
image: gliderlabs/registrator:master
@ -29,10 +29,10 @@ services:
environment:
SERVICE_NAME: registrator
mailhog:
mailhog:
image: mailhog/mailhog:latest
container_name: scrm-mailhog
hostname: scrm-mailhog
container_name: mailhog
hostname: mailhog
environment:
SERVICE_1025_NAME: mailhog
SERVICE_8025_NAME: mailhog