Upgrade Alfresco to 5.1 201605 GA (#194)

* Upgrade Alfresco to 5.1 201605 GA

* Fix Alfresco upgrade. We upgarde it in 0 template version and we remove the pull always and we add sdekick for data volume

* Fix Release format

* Fix Release format
This commit is contained in:
disaster37 2016-07-27 23:19:20 +02:00 committed by Bill Maxwell
parent 7899c648e9
commit 3cc7a3e338
4 changed files with 32 additions and 12 deletions

View File

@ -2,14 +2,14 @@
### Note: ### Note:
If you can read French, you can look my [blog](https://blog.webcenter.fr) to look how to upgrade container after deployement for a production usage. If you can read French, you can look my [blog](https://blog.webcenter.fr/alfresco-deployer-une-ged-en-production-en-quelques-minutes-docker-rancher/) to look how to upgrade container after deployement for a production usage.
### Info: ### Info:
This template deploys a collection of containers based upon the technologies below, once deployed you should have a This template deploys a collection of containers based upon the technologies below, once deployed you should have a
Electronic Document Management (EDM) plateform based on Alfresco. Electronic Document Management (EDM) plateform based on Alfresco.
* **Alfresco** - Used to manage all aspect of EDM. (https://github.com/disaster37/rancher-alfresco) * **Alfresco** - Used to manage all aspect of ECM. (https://github.com/disaster37/rancher-alfresco)
* **Postgresql** - It's the SGBD to store metadatas of your EDM. (https://github.com/docker-library/postgres) * **Postgresql** - It's the SGBD to store metadatas of your ECM. (https://github.com/docker-library/postgres)
This template is just a base to test Alfresco. If you should use in production sky, You must upgrade it after install to setting it in your context (see all parameters you can use to set Alfresco on github). You must at minimal setting that : This template is just a base to test Alfresco. If you should use in production sky, You must upgrade it after install to setting it in your context (see all parameters you can use to set Alfresco on github). You must at minimal setting that :
* **Volume** : You must mount a database volume and alfresco volume on storage pool (convoy-gluster is a good idea). * **Volume** : You must mount a database volume and alfresco volume on storage pool (convoy-gluster is a good idea).

View File

@ -3,14 +3,21 @@ alfresco:
CIFS_ENABLED: 'false' CIFS_ENABLED: 'false'
FTP_ENABLED: 'false' FTP_ENABLED: 'false'
labels: labels:
io.rancher.container.pull_image: always' io.rancher.sidekicks: alfresco-data
tty: true tty: true
image: webcenter/rancher-alfresco:v5.1.0-2 image: webcenter/rancher-alfresco:v5.1-201605-1
links: links:
- postgres:db - postgres:db
stdin_open: true stdin_open: true
ports: ports:
- 8080:8080/tcp - 8080:8080/tcp
alfresco-data:
labels:
io.rancher.container.start_once: 'true'
image: alpine
volumes:
- /opt/alfresco/alf_data
net: none
postgres: postgres:
environment: environment:
PGDATA: /var/lib/postgresql/data/pgdata PGDATA: /var/lib/postgresql/data/pgdata
@ -18,7 +25,14 @@ postgres:
POSTGRES_PASSWORD: ${database_password} POSTGRES_PASSWORD: ${database_password}
POSTGRES_USER: ${database_user} POSTGRES_USER: ${database_user}
labels: labels:
io.rancher.container.pull_image: always io.rancher.sidekicks: postgres-data
tty: true tty: true
image: postgres:9.4 image: postgres:9.4
stdin_open: true stdin_open: true
postgres-data:
labels:
io.rancher.container.start_once: 'true'
image: alpine
volumes:
- /var/lib/postgresql/data/pgdata
net: none

View File

@ -1,8 +1,8 @@
.catalog: .catalog:
name: "Alfresco" name: "Alfresco"
version: "5.1.0" version: "5.1 201605-GA"
description: "Alfresco Electronic Document Management" description: "Alfresco Electronic Document Management"
uuid: alfresco-5.1.0-2 uuid: alfresco-5.1-201605-1
minimum_rancher_version: v0.56.0 minimum_rancher_version: v0.56.0
questions: questions:
- variable: database_name - variable: database_name
@ -31,7 +31,7 @@ alfresco:
interval: 5000 interval: 5000
unhealthy_threshold: 3 unhealthy_threshold: 3
strategy: recreate strategy: recreate
healthy_threshold: 2 healthy_threshold: 3
response_timeout: 5000 response_timeout: 5000
postgres: postgres:
@ -42,4 +42,10 @@ postgres:
unhealthy_threshold: 3 unhealthy_threshold: 3
strategy: recreate strategy: recreate
response_timeout: 5000 response_timeout: 5000
healthy_threshold: 2 healthy_threshold: 3
postgres-data:
scale: 1
alfresco-data:
scale: 1

View File

@ -1,5 +1,5 @@
name: Alfresco name: Alfresco
description: | description: |
An ECM and BPM platform. An ECM and BPM platform.
version: 5.1.0 version: 5.1 201605-GA
category: EDM category: ECM