changed README, added docker-compos-build.yml, fixed postgres volume
This commit is contained in:
parent
fdd69d924c
commit
b2386ddacb
26
README.md
26
README.md
@ -1,5 +1,4 @@
|
|||||||
Welcome to Zammad
|
# Welcome to Zammad
|
||||||
=================
|
|
||||||
|
|
||||||
Zammad is a web based open source helpdesk/ticket system with many features
|
Zammad is a web based open source helpdesk/ticket system with many features
|
||||||
to manage customer communication via several channels like telephone, facebook,
|
to manage customer communication via several channels like telephone, facebook,
|
||||||
@ -8,19 +7,28 @@ twitter, chat and e-mails. It is distributed under the GNU AFFERO General Public
|
|||||||
10.x. Do you receive many e-mails and want to answer them with a team of agents?
|
10.x. Do you receive many e-mails and want to answer them with a team of agents?
|
||||||
You're going to love Zammad!
|
You're going to love Zammad!
|
||||||
|
|
||||||
What is zammad-docker-compose repo for?
|
## What is zammad-docker-compose repo for?
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
This repo is meant to be the starting point for somebody who likes to test zammad.
|
This repo is meant to be the starting point for somebody who likes to test zammad.
|
||||||
If you like to run zammad in production you should use one of the DEB or RPM packages.
|
If you like to run zammad in production you should use one of the DEB or RPM packages.
|
||||||
|
|
||||||
Getting started with zammad-docker-compose
|
## Getting started with zammad-docker-compose
|
||||||
------------------------------------------
|
|
||||||
|
* git clone git@github.com:monotek/zammad-docker-compose.git
|
||||||
|
* cd zammad-docker-compose
|
||||||
|
|
||||||
|
### Setting vm.max_map_count for Elasticsearch
|
||||||
|
|
||||||
* sysctl -w vm.max_map_count=262144
|
* sysctl -w vm.max_map_count=262144
|
||||||
* docker-compose up --build
|
|
||||||
|
|
||||||
Docs
|
### Using DockerHub images
|
||||||
----
|
|
||||||
|
* docker-compose up
|
||||||
|
|
||||||
|
### Building locally
|
||||||
|
|
||||||
|
* docker-compose -f docker-compose-build.yml up --build
|
||||||
|
|
||||||
|
## Docs
|
||||||
|
|
||||||
https://docs.zammad.org/en/latest/contributing-install-docker.html
|
https://docs.zammad.org/en/latest/contributing-install-docker.html
|
||||||
|
48
docker-compose-build.yml
Normal file
48
docker-compose-build.yml
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
elasticsearch:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.elasticsearch
|
||||||
|
volumes:
|
||||||
|
- data-elasticsearch:/var/lib/elasticsearch
|
||||||
|
nginx:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.nginx
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
links:
|
||||||
|
- zammad
|
||||||
|
depends_on:
|
||||||
|
- zammad
|
||||||
|
volumes:
|
||||||
|
- data-zammad:/home/zammad
|
||||||
|
postgresql:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.postgresql
|
||||||
|
volumes:
|
||||||
|
- data-postgresql:/var/lib/postgresql
|
||||||
|
zammad:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.zammad
|
||||||
|
links:
|
||||||
|
- postgresql
|
||||||
|
- elasticsearch
|
||||||
|
depends_on:
|
||||||
|
- postgresql
|
||||||
|
- elasticsearch
|
||||||
|
volumes:
|
||||||
|
- data-zammad:/home/zammad
|
||||||
|
- data-ruby:/usr/local
|
||||||
|
volumes:
|
||||||
|
data-elasticsearch:
|
||||||
|
driver: local
|
||||||
|
data-postgresql:
|
||||||
|
driver: local
|
||||||
|
data-ruby:
|
||||||
|
driver: local
|
||||||
|
data-zammad:
|
||||||
|
driver: local
|
@ -1,13 +1,23 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
postgresql:
|
|
||||||
image: monotek/zammad-docker-compose:postgresql
|
|
||||||
volumes:
|
|
||||||
- data-postgresql:/var/lib/psql
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: monotek/zammad-docker-compose:elasticsearch
|
image: monotek/zammad-docker-compose:elasticsearch
|
||||||
volumes:
|
volumes:
|
||||||
- data-elasticsearch:/var/lib/elasticsearch
|
- data-elasticsearch:/var/lib/elasticsearch
|
||||||
|
nginx:
|
||||||
|
image: monotek/zammad-docker-compose:nginx
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
links:
|
||||||
|
- zammad
|
||||||
|
depends_on:
|
||||||
|
- zammad
|
||||||
|
volumes:
|
||||||
|
- data-zammad:/home/zammad
|
||||||
|
postgresql:
|
||||||
|
image: monotek/zammad-docker-compose:postgresql
|
||||||
|
volumes:
|
||||||
|
- data-postgresql:/var/lib/postgresql
|
||||||
zammad:
|
zammad:
|
||||||
image: monotek/zammad-docker-compose:zammad
|
image: monotek/zammad-docker-compose:zammad
|
||||||
links:
|
links:
|
||||||
@ -19,16 +29,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- data-zammad:/home/zammad
|
- data-zammad:/home/zammad
|
||||||
- data-ruby:/usr/local
|
- data-ruby:/usr/local
|
||||||
nginx:
|
|
||||||
image: monotek/zammad-docker-compose:nginx
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
links:
|
|
||||||
- zammad
|
|
||||||
depends_on:
|
|
||||||
- zammad
|
|
||||||
volumes:
|
|
||||||
- data-zammad:/home/zammad
|
|
||||||
volumes:
|
volumes:
|
||||||
data-elasticsearch:
|
data-elasticsearch:
|
||||||
driver: local
|
driver: local
|
||||||
|
Loading…
Reference in New Issue
Block a user