added .env file with VERSION var...
...to be able to let compose file untouched when using another image version
This commit is contained in:
parent
c928b958f4
commit
40c1f6b041
3
.env
Normal file
3
.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# don't forget to add the minus before the version
|
||||||
|
# it shoud look like: VERSION=-2.1.0-13
|
||||||
|
VERSION=
|
@ -5,7 +5,7 @@ services:
|
|||||||
zammad-backup:
|
zammad-backup:
|
||||||
depends_on:
|
depends_on:
|
||||||
- zammad-railsserver
|
- zammad-railsserver
|
||||||
image: zammad/zammad-docker-compose:zammad-postgresql
|
image: zammad/zammad-docker-compose:zammad-postgresql${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
links:
|
links:
|
||||||
@ -18,7 +18,7 @@ services:
|
|||||||
command: zammad-backup
|
command: zammad-backup
|
||||||
|
|
||||||
zammad-elasticsearch:
|
zammad-elasticsearch:
|
||||||
image: zammad/zammad-docker-compose:zammad-elasticsearch
|
image: zammad/zammad-docker-compose:zammad-elasticsearch${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
restart: always
|
restart: always
|
||||||
@ -28,7 +28,7 @@ services:
|
|||||||
zammad-nginx:
|
zammad-nginx:
|
||||||
depends_on:
|
depends_on:
|
||||||
- zammad-railsserver
|
- zammad-railsserver
|
||||||
image: zammad/zammad-docker-compose:zammad-nginx
|
image: zammad/zammad-docker-compose:zammad-nginx${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
links:
|
links:
|
||||||
@ -39,7 +39,7 @@ services:
|
|||||||
- data-zammad:/home/zammad
|
- data-zammad:/home/zammad
|
||||||
|
|
||||||
zammad-postgresql:
|
zammad-postgresql:
|
||||||
image: zammad/zammad-docker-compose:zammad-postgresql
|
image: zammad/zammad-docker-compose:zammad-postgresql${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
restart: always
|
restart: always
|
||||||
@ -47,7 +47,7 @@ services:
|
|||||||
zammad-railsserver:
|
zammad-railsserver:
|
||||||
depends_on:
|
depends_on:
|
||||||
- zammad-postgresql
|
- zammad-postgresql
|
||||||
image: zammad/zammad-docker-compose:zammad
|
image: zammad/zammad-docker-compose:zammad${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
links:
|
links:
|
||||||
@ -61,7 +61,7 @@ services:
|
|||||||
zammad-scheduler:
|
zammad-scheduler:
|
||||||
depends_on:
|
depends_on:
|
||||||
- zammad-railsserver
|
- zammad-railsserver
|
||||||
image: zammad/zammad-docker-compose:zammad
|
image: zammad/zammad-docker-compose:zammad${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
links:
|
links:
|
||||||
@ -75,7 +75,7 @@ services:
|
|||||||
zammad-websocket:
|
zammad-websocket:
|
||||||
depends_on:
|
depends_on:
|
||||||
- zammad-railsserver
|
- zammad-railsserver
|
||||||
image: zammad/zammad-docker-compose:zammad
|
image: zammad/zammad-docker-compose:zammad${VERSION}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
links:
|
links:
|
||||||
|
Loading…
Reference in New Issue
Block a user