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:
|
||||
depends_on:
|
||||
- zammad-railsserver
|
||||
image: zammad/zammad-docker-compose:zammad-postgresql
|
||||
image: zammad/zammad-docker-compose:zammad-postgresql${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
@ -18,7 +18,7 @@ services:
|
||||
command: zammad-backup
|
||||
|
||||
zammad-elasticsearch:
|
||||
image: zammad/zammad-docker-compose:zammad-elasticsearch
|
||||
image: zammad/zammad-docker-compose:zammad-elasticsearch${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
restart: always
|
||||
@ -28,7 +28,7 @@ services:
|
||||
zammad-nginx:
|
||||
depends_on:
|
||||
- zammad-railsserver
|
||||
image: zammad/zammad-docker-compose:zammad-nginx
|
||||
image: zammad/zammad-docker-compose:zammad-nginx${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
@ -39,7 +39,7 @@ services:
|
||||
- data-zammad:/home/zammad
|
||||
|
||||
zammad-postgresql:
|
||||
image: zammad/zammad-docker-compose:zammad-postgresql
|
||||
image: zammad/zammad-docker-compose:zammad-postgresql${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
restart: always
|
||||
@ -47,7 +47,7 @@ services:
|
||||
zammad-railsserver:
|
||||
depends_on:
|
||||
- zammad-postgresql
|
||||
image: zammad/zammad-docker-compose:zammad
|
||||
image: zammad/zammad-docker-compose:zammad${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
@ -61,7 +61,7 @@ services:
|
||||
zammad-scheduler:
|
||||
depends_on:
|
||||
- zammad-railsserver
|
||||
image: zammad/zammad-docker-compose:zammad
|
||||
image: zammad/zammad-docker-compose:zammad${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
@ -75,7 +75,7 @@ services:
|
||||
zammad-websocket:
|
||||
depends_on:
|
||||
- zammad-railsserver
|
||||
image: zammad/zammad-docker-compose:zammad
|
||||
image: zammad/zammad-docker-compose:zammad${VERSION}
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
|
Loading…
Reference in New Issue
Block a user