Skip to content

Commit

Permalink
Fix depends_on and volume for MQTT
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdor committed Oct 23, 2016
1 parent 8392ff4 commit 4b63739
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ services:
volumes:
- /etc/letsencrypt/live/www.lambdaspace.gr:/etc/letsencrypt/live/www.lambdaspace.gr:ro
- /etc/letsencrypt/archive/www.lambdaspace.gr:/etc/letsencrypt/archive/www.lambdaspace.gr:ro
depends_on: mqtt
depends_on:
- mqtt
restart: always

redirector:
Expand Down Expand Up @@ -46,15 +47,16 @@ services:
dockerfile: MinisterIN-Dockerfile
ports:
- "7777:7777"
depends_on: mqtt
depends_on:
- mqtt
restart: always

mqtt:
build:
context: .
dockerfile: MQTT-Dockerfile
volumes:
- credentials/mqtt:/var/local/mosquitto:ro
- ./credentials/mqtt:/var/local/mosquitto:ro
ports:
- "8883:8883"
restart: always

0 comments on commit 4b63739

Please sign in to comment.