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