Add Alfresco template

This commit is contained in:
Sebastien Langoureaux
2016-03-08 10:00:44 +01:00
parent 8c75921457
commit 94290f426c
5 changed files with 128 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Alfresco
### 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.
### Info:
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.
* **Alfresco** - Used to manage all aspect of EDM. (https://github.com/disaster37/rancher-alfresco)
* **Postgresql** - It's the SGBD to store metadatas of your EDM. (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 :
* **Volume** : You must mount a database volume and alfresco volume on storage pool (convoy-gluster is a good idea).
* For Postgresql `/var/lib/postgresql/data/pgdata`
* For Alfresco `/opt/alfresco/alf_data`
* **Reverse Proxy / Load balancer** : You probably put load balancer like a endpoint for user. To do that, you must add extra parameter on your Alfresco container.
* **REVERSE_PROXY_URL** : put your url like `https://ged.my-domain.com`
* **Mail setting** : There are a lot of parameter to set mail context.
* **CIFS setting** : There are a lot of parameter to set CIFS context.
* **LDAP authentification** : There are a lot of parameter to set LDAP authentification
All components in this stack are open source tools available in the community. All this template does is to bound them together in an easy to use package.
## Deployment:
* Select Alfresco from the community catalog.
* Click deploy.
## Usage
* Alfresco Share is now available on port 8080 with the following url `http://your_ip:8080/share`. Authentication is with the default `admin/admin`.
+24
View File
@@ -0,0 +1,24 @@
alfresco:
environment:
CIFS_ENABLED: 'false'
FTP_ENABLED: 'false'
labels:
io.rancher.container.pull_image: always'
tty: true
image: webcenter/rancher-alfresco:v5.1.0-2
links:
- postgres:db
stdin_open: true
ports:
- 8080:8080/tcp
postgres:
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: ${database_name}
POSTGRES_PASSWORD: ${database_password}
POSTGRES_USER: ${database_user}
labels:
io.rancher.container.pull_image: always
tty: true
image: postgres:9.4
stdin_open: true
+45
View File
@@ -0,0 +1,45 @@
.catalog:
name: "Alfresco"
version: "5.1.0"
description: "Alfresco Electronic Document Management"
uuid: alfresco-5.1.0-2
minimum_rancher_version: v0.56.0
questions:
- variable: database_name
description: "Name of the Alfresco database"
label: "Database name"
type: "string"
required: true
default: "alfresco"
- variable: database_user
description: "Login for the Alfresco database"
label: "Database login"
type: "string"
required: true
default: "alfresco"
- variable: database_password
description: "Password for the Alfresco database"
label: "Database password"
type: "string"
required: true
default: "alfresco"
alfresco:
scale: 1
health_check:
port: 8080
interval: 5000
unhealthy_threshold: 3
strategy: recreate
healthy_threshold: 2
response_timeout: 5000
postgres:
scale: 1
health_check:
port: 5432
interval: 5000
unhealthy_threshold: 3
strategy: recreate
response_timeout: 5000
healthy_threshold: 2