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

94 lines
1.9 KiB
YAML
Raw Normal View History

version: '3.3'
services:
zammad-backup:
build:
context: .
dockerfile: containers/zammad-postgresql/Dockerfile
depends_on:
- zammad-railsserver
links:
- zammad-postgresql
restart: always
volumes:
- data-zammad:/home/zammad
- backup-zammad:/var/tmp/zammad
entrypoint: /usr/local/bin/backup.sh
command: ["zammad-backup"]
2017-03-08 18:37:05 +00:00
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-railsserver
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/Dockerfile
2017-01-09 14:52:53 +00:00
depends_on:
- zammad-postgresql
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
command: ["zammad-railsserver"]
zammad-scheduler:
build:
context: .
dockerfile: containers/zammad/Dockerfile
depends_on:
- 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
2017-04-05 20:09:51 +00:00
volumes:
- data-zammad:/home/zammad
command: ["zammad-scheduler"]
zammad-websocket:
build:
context: .
dockerfile: containers/zammad/Dockerfile
depends_on:
- 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
2017-04-05 20:09:51 +00:00
volumes:
- data-zammad:/home/zammad
command: ["zammad-websocket"]
volumes:
backup-zammad:
driver: local
data-zammad:
driver: local