diff --git a/.env b/.env new file mode 100644 index 0000000..81d188a --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +# don't forget to add the minus before the version +# it should look like: VERSION=-2.1.0-13 +VERSION= diff --git a/docker-compose.yml b/docker-compose.yml index c810843..20911e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: