2017-01-06 12:10:15 +00:00
|
|
|
version: '2'
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-01-06 12:10:15 +00:00
|
|
|
services:
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-01-06 12:10:15 +00:00
|
|
|
elasticsearch:
|
|
|
|
build:
|
|
|
|
context: .
|
2017-01-12 13:14:25 +00:00
|
|
|
dockerfile: containers/elasticsearch/Dockerfile
|
2017-01-09 14:52:53 +00:00
|
|
|
restart: always
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-01-06 12:10:15 +00:00
|
|
|
nginx:
|
|
|
|
build:
|
|
|
|
context: .
|
2017-01-12 13:14:25 +00:00
|
|
|
dockerfile: containers/nginx/Dockerfile
|
2017-01-06 12:10:15 +00:00
|
|
|
depends_on:
|
|
|
|
- zammad
|
2017-01-09 14:52:53 +00:00
|
|
|
links:
|
2017-01-12 13:14:25 +00:00
|
|
|
- zammad-railsserver
|
|
|
|
- zammad-websocket
|
2017-01-09 14:52:53 +00:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
restart: always
|
2017-01-06 12:10:15 +00:00
|
|
|
volumes:
|
|
|
|
- data-zammad:/home/zammad
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-01-06 12:10:15 +00:00
|
|
|
postgresql:
|
|
|
|
build:
|
|
|
|
context: .
|
2017-01-12 13:14:25 +00:00
|
|
|
dockerfile: containers/postgresql/Dockerfile
|
2017-01-09 14:52:53 +00:00
|
|
|
restart: always
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-01-06 12:10:15 +00:00
|
|
|
zammad:
|
|
|
|
build:
|
|
|
|
context: .
|
2017-01-12 13:14:25 +00:00
|
|
|
dockerfile: containers/zammad/Dockerfile
|
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- data-zammad:/home/zammad
|
|
|
|
|
|
|
|
zammad-railsserver:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: containers/zammad-railsserver/Dockerfile
|
2017-01-09 14:52:53 +00:00
|
|
|
depends_on:
|
2017-01-12 13:14:25 +00:00
|
|
|
- elasticsearch
|
|
|
|
- postgresql
|
|
|
|
- zammad
|
|
|
|
links:
|
|
|
|
- elasticsearch
|
2017-01-06 12:10:15 +00:00
|
|
|
- postgresql
|
2017-01-12 13:14:25 +00:00
|
|
|
restart: always
|
|
|
|
|
|
|
|
zammad-scheduler:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: containers/zammad-scheduler/Dockerfile
|
|
|
|
depends_on:
|
2017-01-06 12:10:15 +00:00
|
|
|
- elasticsearch
|
2017-01-12 13:14:25 +00:00
|
|
|
- postgresql
|
|
|
|
- zammad
|
2017-01-09 14:52:53 +00:00
|
|
|
links:
|
2017-01-12 13:14:25 +00:00
|
|
|
- elasticsearch
|
|
|
|
- postgresql
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
zammad-websocket:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: containers/zammad-websocket/Dockerfile
|
|
|
|
depends_on:
|
|
|
|
- elasticsearch
|
2017-01-06 12:10:15 +00:00
|
|
|
- postgresql
|
2017-01-12 13:14:25 +00:00
|
|
|
- zammad
|
|
|
|
links:
|
2017-01-06 12:10:15 +00:00
|
|
|
- elasticsearch
|
2017-01-12 13:14:25 +00:00
|
|
|
- postgresql
|
2017-01-09 14:52:53 +00:00
|
|
|
restart: always
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-01-06 12:10:15 +00:00
|
|
|
volumes:
|
|
|
|
data-zammad:
|
|
|
|
driver: local
|