zammad-docker-compose/docker-compose-build.yml

82 lines
1.4 KiB
YAML
Raw Normal View History

version: '2'
services:
elasticsearch:
build:
context: .
dockerfile: containers/elasticsearch/Dockerfile
2017-01-09 14:52:53 +00:00
restart: always
nginx:
build:
context: .
dockerfile: containers/nginx/Dockerfile
depends_on:
- zammad
2017-01-09 14:52:53 +00:00
links:
- zammad-railsserver
- zammad-websocket
2017-01-09 14:52:53 +00:00
ports:
- "80:80"
restart: always
volumes:
- data-zammad:/home/zammad
postgresql:
build:
context: .
dockerfile: containers/postgresql/Dockerfile
2017-01-09 14:52:53 +00:00
restart: always
zammad:
build:
context: .
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:
- elasticsearch
- postgresql
- zammad
links:
- elasticsearch
- postgresql
restart: always
zammad-scheduler:
build:
context: .
dockerfile: containers/zammad-scheduler/Dockerfile
depends_on:
- elasticsearch
- postgresql
- zammad
2017-01-09 14:52:53 +00:00
links:
- elasticsearch
- postgresql
restart: always
zammad-websocket:
build:
context: .
dockerfile: containers/zammad-websocket/Dockerfile
depends_on:
- elasticsearch
- postgresql
- zammad
links:
- elasticsearch
- postgresql
2017-01-09 14:52:53 +00:00
restart: always
volumes:
data-zammad:
driver: local