Update template (#108)
* Specify volume driver everywhere, configure Redis for Nuxeo * typo
This commit is contained in:
parent
bec8e0d245
commit
b416078b00
@ -6,7 +6,7 @@ postgres-datavolume:
|
|||||||
entrypoint: chown -R postgres:postgres /var/lib/postgresql/data
|
entrypoint: chown -R postgres:postgres /var/lib/postgresql/data
|
||||||
volume_driver: ${volumedriver}
|
volume_driver: ${volumedriver}
|
||||||
volumes:
|
volumes:
|
||||||
- nuxeo-postgres:/var/lib/postgresql/data
|
- /var/lib/postgresql/data
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: nuxeo/postgres
|
image: nuxeo/postgres
|
||||||
@ -25,6 +25,7 @@ elasticsearch-masters:
|
|||||||
labels:
|
labels:
|
||||||
io.rancher.container.hostname_override: container_name
|
io.rancher.container.hostname_override: container_name
|
||||||
io.rancher.sidekicks: elasticsearch-base-master,elasticsearch-datavolume-masters
|
io.rancher.sidekicks: elasticsearch-base-master,elasticsearch-datavolume-masters
|
||||||
|
volume_driver: ${volumedriver}
|
||||||
elasticsearch-datavolume-masters:
|
elasticsearch-datavolume-masters:
|
||||||
labels:
|
labels:
|
||||||
elasticsearch.datanode.config.version: '0'
|
elasticsearch.datanode.config.version: '0'
|
||||||
@ -52,6 +53,7 @@ redis:
|
|||||||
tty: true
|
tty: true
|
||||||
image: redis:3.0.3
|
image: redis:3.0.3
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
volume_driver: ${volumedriver}
|
||||||
|
|
||||||
nuxeo-datavolume:
|
nuxeo-datavolume:
|
||||||
labels:
|
labels:
|
||||||
@ -73,6 +75,8 @@ nuxeo:
|
|||||||
NUXEO_ES_HOSTS: elasticsearch:9300
|
NUXEO_ES_HOSTS: elasticsearch:9300
|
||||||
NUXEO_DATA: /data/nuxeo/data/
|
NUXEO_DATA: /data/nuxeo/data/
|
||||||
NUXEO_LOG: /data/nuxeo/log/
|
NUXEO_LOG: /data/nuxeo/log/
|
||||||
|
NUXEO_REDIS_HOST: redis
|
||||||
|
NUXEO_URL: ${url}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.sidekicks: nuxeo-datavolume
|
io.rancher.sidekicks: nuxeo-datavolume
|
||||||
io.rancher.container.hostname_override: container_name
|
io.rancher.container.hostname_override: container_name
|
||||||
|
@ -18,13 +18,20 @@
|
|||||||
description: |
|
description: |
|
||||||
List of Nuxeo packages
|
List of Nuxeo packages
|
||||||
default: nuxeo-web-mobile nuxeo-drive nuxeo-diff nuxeo-spreadsheet nuxeo-dam nuxeo-template-rendering nuxeo-template-rendering-samples nuxeo-showcase-content
|
default: nuxeo-web-mobile nuxeo-drive nuxeo-diff nuxeo-spreadsheet nuxeo-dam nuxeo-template-rendering nuxeo-template-rendering-samples nuxeo-showcase-content
|
||||||
- variable: "volumedriver"
|
- variable: url
|
||||||
|
description: "The URL that this nuxeo instance should serve"
|
||||||
|
label: "Nuxeo URL"
|
||||||
|
type: "string"
|
||||||
|
required: true
|
||||||
|
default: "http://localhost:8080/"
|
||||||
|
- variable: volumedriver
|
||||||
type: "string"
|
type: "string"
|
||||||
label: "Volume driver"
|
label: "Volume driver"
|
||||||
description: |
|
description: |
|
||||||
Specifiy docker volume driver to use
|
Specifiy docker volume driver to use
|
||||||
default: local
|
default: local
|
||||||
|
|
||||||
|
|
||||||
nuxeo:
|
nuxeo:
|
||||||
scale: 1
|
scale: 1
|
||||||
health_check:
|
health_check:
|
||||||
|
13
templates/nuxeo/README.md
Normal file
13
templates/nuxeo/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Nuxeo
|
||||||
|
|
||||||
|
|
||||||
|
This templates deploys a Nuxeo server with all its companions (Elasticsearch, Redis and Postgres) to be able to run Nuxeo on top of you Rancher infrastructure
|
||||||
|
|
||||||
|
|
||||||
|
# How to use it ?
|
||||||
|
|
||||||
|
Just create and launch the stack. After that, you have to point a load balancer of you infrasctructure to the internal stack load balancer.
|
||||||
|
|
||||||
|
We made this choice, since it allows to start several Nuxeo server instance on the same infrastructure.
|
||||||
|
|
||||||
|
After that you can login with the regular user/password combination Administrator/Administrator.
|
Loading…
x
Reference in New Issue
Block a user