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

79 lines
1.5 KiB
YAML
Raw Normal View History

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