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

85 lines
1.6 KiB
YAML
Raw Normal View History

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