File tree Expand file tree Collapse file tree 12 files changed +99
-14
lines changed Expand file tree Collapse file tree 12 files changed +99
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 2.2.0
4
+ - Zammad 2.2.0
5
+ - Add memcached
6
+ - Add ZAMMAD_ELASTICSEARCH_USER and ZAMMAD_ELASTICSEARCH_PASS environment variables
7
+
3
8
## 2.1.0
4
9
- Zammad 2.1.0
5
10
Original file line number Diff line number Diff line change 1
1
NAME = osixia/zammad
2
- VERSION = 2.1 .0
2
+ VERSION = 2.2 .0
3
3
4
4
.PHONY : build build-nocache test tag-latest push push-latest release git-tag-version
5
5
Original file line number Diff line number Diff line change 4
4
![ Docker Stars] ( https://img.shields.io/docker/stars/osixia/zammad.svg )
5
5
![ ] ( https://images.microbadger.com/badges/image/osixia/zammad.svg )
6
6
7
- Latest release: 2.1 .0 - Zammad 2.1 .0 - [ Changelog] ( CHANGELOG.md ) | [ Docker Hub] ( https://hub.docker.com/r/osixia/zammad/ )
7
+ Latest release: 2.2 .0 - Zammad 2.2 .0 - [ Changelog] ( CHANGELOG.md ) | [ Docker Hub] ( https://hub.docker.com/r/osixia/zammad/ )
8
8
9
9
** A docker image to run Zammad.**
10
10
Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ services:
11
11
volumes :
12
12
- elasticsearch:/usr/share/elasticsearch/data
13
13
14
+ memcached :
15
+ command : ["zammad-memcached"]
16
+ image : zammad/zammad-docker-compose:zammad-memcached
17
+ labels :
18
+ io.rancher.container.pull_image : always
19
+ restart : always
20
+
14
21
mariadb :
15
22
image : osixia/mariadb:10.2.8
16
23
labels :
@@ -25,8 +32,8 @@ services:
25
32
- mariadb:/var/lib/mysql
26
33
27
34
zammad :
28
- image : osixia/zammad:2.1 .0
29
- command : -l trace
35
+ image : osixia/zammad:2.2 .0
36
+ command : -l info
30
37
labels :
31
38
- " io.rancher.container.pull_image: always"
32
39
- " traefik.protocol=https"
@@ -35,6 +42,7 @@ services:
35
42
links :
36
43
- elasticsearch
37
44
- mariadb
45
+ - memcached
38
46
ports :
39
47
- " 6443:443"
40
48
restart : always
@@ -44,6 +52,7 @@ services:
44
52
ZAMMAD_DB_USER : " zammad"
45
53
ZAMMAD_DB_PASSWORD : " zammad"
46
54
ZAMMAD_ELASTICSEARCH_URL : " http://elasticsearch:9200"
55
+ ZAMMAD_MEMCACHED_HOST : memcached
47
56
volumes :
48
57
- zammad-backup:/data/backup
49
58
Original file line number Diff line number Diff line change 42
42
memory : 1024Mi
43
43
limits :
44
44
memory : 1024Mi
45
+ terminationGracePeriodSeconds : 10
45
46
env :
46
47
# - name: "bootstrap.memory_lock" should be fixed in next major kubernetes release
47
48
# value: "true"
54
55
volumeMounts :
55
56
- name : elasticsearch-data
56
57
mountPath : /usr/share/elasticsearch/data
58
+ readinessProbe :
59
+ httpGet :
60
+ path : /_cluster/health?local=true
61
+ port : 9200
62
+ initialDelaySeconds : 60
63
+ periodSeconds : 10
64
+ livenessProbe :
65
+ httpGet :
66
+ path : /_cluster/health?local=true
67
+ port : 9200
68
+ initialDelaySeconds : 60
69
+ periodSeconds : 10
57
70
volumes :
58
71
- name : " elasticsearch-data"
59
72
emptyDir : {} # change me to persistent storage
Original file line number Diff line number Diff line change
1
+ apiVersion : extensions/v1beta1
2
+ kind : Deployment
3
+ metadata :
4
+ name : memcached
5
+ namespace : default
6
+ labels :
7
+ app : memcached
8
+ spec :
9
+ replicas : 1
10
+ revisionHistoryLimit : 1
11
+ template :
12
+ metadata :
13
+ labels :
14
+ app : memcached
15
+ spec :
16
+ terminationGracePeriodSeconds : 10
17
+
18
+ containers :
19
+ - name : memcached
20
+ image : zammad/zammad-docker-compose:zammad-memcached
21
+ args : [ "zammad-memcached" ]
22
+ ports :
23
+ - containerPort : 11211
24
+ name : memcached
25
+ imagePullPolicy : Always
26
+ readinessProbe :
27
+ tcpSocket :
28
+ port : 11211
29
+ initialDelaySeconds : 20
30
+ periodSeconds : 10
31
+ livenessProbe :
32
+ tcpSocket :
33
+ port : 11211
34
+ initialDelaySeconds : 10
35
+ periodSeconds : 10
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : memcached
5
+ namespace : default
6
+ labels :
7
+ app : memcached
8
+ spec :
9
+ ports :
10
+ - port : 11211
11
+ selector :
12
+ app : memcached
Original file line number Diff line number Diff line change 15
15
automountServiceAccountToken : false
16
16
containers :
17
17
- name : zammad
18
- image : osixia/zammad:2.1 .0
18
+ image : osixia/zammad:2.2 .0
19
19
imagePullPolicy : Always
20
20
resources :
21
21
requests :
28
28
env :
29
29
- name : ZAMMAD_ELASTICSEARCH_URL
30
30
value : " http://elasticsearch:9200"
31
+ - name : ZAMMAD_MEMCACHED_HOST
32
+ value : " memcached"
31
33
- name : ZAMMAD_DB_HOST
32
34
value : " mariadb"
33
35
- name : ZAMMAD_DB_NAME
Original file line number Diff line number Diff line change 4
4
ENV ZAMMAD_DIR /home/zammad
5
5
ENV ZAMMAD_USER zammad
6
6
ENV RAILS_ENV production
7
- ENV RAILS_SERVER puma
8
7
9
- ARG ZAMMAD_VERSION=2.1 .0
10
- ARG ZAMMAD_MD5=afc7471fef4214bfec638c65d37a58d1
8
+ ARG ZAMMAD_VERSION=2.2 .0
9
+ ARG ZAMMAD_MD5=d3657d09d8f7cbfc3e37bf8f8d4d82c6
11
10
12
11
ARG GOSU_VERSION=1.10
13
12
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ ZAMMAD_DB_USER: zammad
5
5
ZAMMAD_DB_PASSWORD : zammad
6
6
7
7
ZAMMAD_ELASTICSEARCH_URL :
8
+ ZAMMAD_ELASTICSEARCH_USER :
9
+ ZAMMAD_ELASTICSEARCH_PASS :
10
+
11
+ ZAMMAD_MEMCACHED_HOST :
8
12
9
13
ZAMMAD_SSL_CRT_FILENAME : cert.crt
10
14
ZAMMAD_SSL_KEY_FILENAME : cert.key
You can’t perform that action at this time.
0 commit comments