added rancher labels & rancher-compose.yml
This commit is contained in:
parent
73123632e2
commit
d7293a68de
@ -4,12 +4,16 @@ services:
|
||||
|
||||
elasticsearch:
|
||||
image: zammad/zammad-docker-compose:elasticsearch
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
restart: always
|
||||
|
||||
nginx:
|
||||
depends_on:
|
||||
- zammad
|
||||
image: zammad/zammad-docker-compose:nginx
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
- zammad-railsserver
|
||||
- zammad-websocket
|
||||
@ -21,16 +25,23 @@ services:
|
||||
|
||||
postgresql:
|
||||
image: zammad/zammad-docker-compose:postgresql
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
restart: always
|
||||
|
||||
zammad:
|
||||
image: zammad/zammad-docker-compose:zammad
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.container.start_once: true
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- data-zammad:/home/zammad
|
||||
|
||||
zammad-railsserver:
|
||||
image: zammad/zammad-docker-compose:zammad-railsserver
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
- elasticsearch
|
||||
- postgresql
|
||||
@ -43,6 +54,8 @@ services:
|
||||
|
||||
zammad-scheduler:
|
||||
image: zammad/zammad-docker-compose:zammad-scheduler
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
- elasticsearch
|
||||
- postgresql
|
||||
@ -55,6 +68,8 @@ services:
|
||||
|
||||
zammad-websocket:
|
||||
image: zammad/zammad-docker-compose:zammad-websocket
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
links:
|
||||
- postgresql
|
||||
- zammad
|
||||
|
31
rancher-compose.yml
Normal file
31
rancher-compose.yml
Normal file
@ -0,0 +1,31 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
|
||||
elasticsearch:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
|
||||
nginx:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
|
||||
postgresql:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
|
||||
zammad:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
|
||||
zammad-scheduler:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
|
||||
zammad-railsserver:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
|
||||
zammad-websocket:
|
||||
scale: 1
|
||||
start_on_create: true
|
Loading…
Reference in New Issue
Block a user