fixes #issue 15

This commit is contained in:
André Bauer 2017-04-05 22:09:51 +02:00
parent 983b72660d
commit db9efbed97
2 changed files with 22 additions and 10 deletions

View File

@ -1,4 +1,4 @@
version: '2'
version: '3'
services:
@ -50,28 +50,34 @@ services:
- zammad-elasticsearch
- zammad-postgresql
restart: always
volumes:
- data-zammad:/home/zammad
zammad-scheduler:
build:
context: .
dockerfile: containers/zammad-scheduler/Dockerfile
depends_on:
- zammad-railsserver
- zammad
links:
- zammad-elasticsearch
- zammad-postgresql
restart: always
volumes:
- data-zammad:/home/zammad
zammad-websocket:
build:
context: .
dockerfile: containers/zammad-websocket/Dockerfile
depends_on:
- zammad-railsserver
- zammad
links:
- zammad-elasticsearch
- zammad-postgresql
restart: always
volumes:
- data-zammad:/home/zammad
volumes:
data-zammad:

View File

@ -1,4 +1,4 @@
version: '2'
version: '3'
services:
@ -42,39 +42,45 @@ services:
restart: always
zammad-railsserver:
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-railsserver
labels:
io.rancher.container.pull_image: always
links:
- zammad-elasticsearch
- zammad-postgresql
- zammad
depends_on:
- zammad
restart: always
volumes:
- data-zammad:/home/zammad
zammad-scheduler:
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-scheduler
labels:
io.rancher.container.pull_image: always
links:
- zammad-elasticsearch
- zammad-postgresql
- zammad
depends_on:
- zammad-railsserver
restart: always
volumes:
- data-zammad:/home/zammad
zammad-websocket:
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-websocket
labels:
io.rancher.container.pull_image: always
links:
- zammad-postgresql
- zammad
depends_on:
- zammad-railsserver
restart: always
volumes:
- data-zammad:/home/zammad
volumes:
data-zammad: