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

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`.

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

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

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="256px" height="255px" viewBox="0 0 256 255" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
<g>
<path d="M88.9565187,166.907984 L121.256108,134.606322 L72.7528359,134.608395 L72.6367696,134.608395 C45.7591337,134.608395 23.9697609,156.397767 23.9697609,183.273331 C23.9697609,210.153039 45.7570611,231.94034 72.634697,231.94034 C74.6762201,231.94034 76.6845814,231.799402 78.6597809,231.554834 C68.037643,210.62974 71.4615985,184.400832 88.9565187,166.907984" fill="#87C040"></path>
<path d="M128.336152,183.213225 L128.336152,137.534923 L94.0406366,171.834584 L93.9577321,171.915416 C74.9518775,190.92127 74.9518775,221.734797 93.9577321,240.740651 C112.963587,259.746506 143.777113,259.746506 162.782968,240.740651 C164.225506,239.298113 165.520889,237.766453 166.745802,236.199558 C144.44864,228.906035 128.338224,207.94778 128.336152,183.213225" fill="#87C040"></path>
<path d="M167.713712,166.897621 L135.414123,134.598032 L135.414123,183.21737 C135.414123,210.097079 157.203496,231.884379 184.081131,231.884379 C210.958767,231.884379 232.74814,210.097079 232.74814,183.219443 C232.74814,181.17792 232.607203,179.169559 232.362634,177.194359 C211.437541,187.81857 185.208633,184.392541 167.713712,166.897621" fill="#87C040"></path>
<path d="M241.546379,93.0732448 C240.103841,91.6307066 238.574253,90.335324 237.007358,89.1104101 C229.713836,111.4055 208.753508,127.517988 184.021026,127.517988 L138.344796,127.517988 L172.721144,161.896408 C191.726998,180.902262 222.542597,180.902262 241.546379,161.896408 C260.552234,142.890553 260.552234,112.077027 241.546379,93.0732448" fill="#87C040"></path>
<path d="M184.027244,23.1080724 C181.98572,23.1080724 179.977359,23.2469374 178.00216,23.4915056 C188.624298,44.4186717 185.200342,70.6455074 167.705422,88.1404276 L135.407905,120.440017 L184.027244,120.440017 C210.902807,120.440017 232.69218,98.6506444 232.69218,71.7730085 C232.694252,44.8953725 210.904879,23.1080724 184.027244,23.1080724" fill="#ED9A2D"></path>
<path d="M162.704208,14.305688 C143.698354,-4.69809386 112.884827,-4.69809386 93.8789728,14.3077607 C92.4385073,15.7502988 91.1431246,17.2798867 89.9182108,18.8488541 C112.213301,26.1423767 128.325789,47.100632 128.325789,71.8331142 L128.325789,117.511416 L162.621304,83.2138282 L162.704208,83.1329963 C181.710063,64.1271418 181.710063,33.3136152 162.704208,14.305688" fill="#5698C6"></path>
<path d="M88.9958983,88.1735894 L90.3804033,89.6182001 L121.214656,120.452453 L121.247818,120.452453 L121.247818,71.9450353 L121.247818,71.828969 C121.247818,44.9513331 99.458445,23.1619603 72.5808091,23.1619603 C45.7031732,23.1619603 23.9138004,44.9492605 23.915873,71.8268964 C23.915873,73.8642743 24.054738,75.8664177 24.2972336,77.837472 C45.2368354,67.2215519 71.4989055,70.6765966 88.9958983,88.1735894" fill="#5698C6"></path>
<path d="M19.7975924,165.515189 C20.1789531,164.383543 20.5893303,163.268477 21.0390872,162.169993 C21.0950477,162.031128 21.1447904,161.89019 21.2028235,161.75547 C21.6961052,160.574081 22.2391297,159.423781 22.809098,158.28799 C22.9334548,158.037204 23.0619567,157.790563 23.1925313,157.539777 C23.7790806,156.412276 24.396719,155.303428 25.0558097,154.223597 C25.1262786,154.107531 25.2029652,153.997682 25.273434,153.885761 C25.8993629,152.876399 26.5605262,151.896054 27.2486335,150.932289 C27.3895712,150.733318 27.5284362,150.532275 27.673519,150.335377 C28.4134416,149.328087 29.1844534,148.349814 29.9865543,147.396412 C30.1502907,147.201587 30.3160997,147.012979 30.4839813,146.824371 C31.2674287,145.916567 32.0757475,145.031562 32.9151555,144.177646 C32.9897695,144.103031 33.0581657,144.024272 33.1327798,143.949658 C34.0260756,143.052217 34.9566786,142.194156 35.9080076,141.360965 C36.1152688,141.178576 36.32253,140.998258 36.5318639,140.820014 C37.4894108,140.003404 38.4697564,139.217884 39.4791185,138.465526 C39.6117657,138.368113 39.7506307,138.276918 39.8832779,138.181578 C40.8263165,137.495544 41.7921538,136.840598 42.7787173,136.212597 C42.9735428,136.08824 43.1662958,135.959738 43.3631939,135.837454 C44.4285166,135.178363 45.5187107,134.558652 46.6296309,133.97003 C46.8638361,133.847746 47.1001139,133.729607 47.3363917,133.609396 C48.4452392,133.043572 49.5685951,132.502621 50.7168223,132.011412 C50.7727828,131.988613 50.8266707,131.961669 50.8826312,131.936797 C52.0702381,131.433153 53.2847889,130.983396 54.5138479,130.560583 C54.7791423,130.469388 55.0423641,130.378193 55.3097311,130.291143 C56.5263545,129.895274 57.7595588,129.530495 59.0114166,129.213385 C59.2020969,129.167787 59.3989951,129.126335 59.5896754,129.08281 C60.7503383,128.803008 61.9234368,128.562585 63.108971,128.357396 C63.3307405,128.320089 63.5504374,128.274492 63.772207,128.24133 C65.0592992,128.034069 66.3629723,127.878623 67.6770085,127.762556 C67.9609564,127.737685 68.2469769,127.719031 68.5309247,127.696233 C69.8905584,127.59882 71.2564099,127.530424 72.6409149,127.530424 L118.319217,127.528351 L83.940797,93.1499314 C64.9349424,74.1461495 34.1193432,74.1440769 15.1155613,93.1499314 C-3.89029323,112.155786 -3.89029323,142.969313 15.1155613,161.975167 C16.5560268,163.415633 18.0648886,164.74625 19.6297108,165.969091 C19.6815261,165.815718 19.7457771,165.668562 19.7975924,165.515189" fill="#5698C6"></path>
<path d="M84.0547906,93.1499314 L111.274408,120.369548 L74.6886558,120.369548 L72.6139709,120.413073 C50.333389,120.413073 31.5513766,105.440522 25.7770788,85.0087104 C44.3124503,74.6145599 68.2055246,77.302738 83.9739588,93.0690996 L84.0547906,93.1499314" fill="#446BA6"></path>
<path d="M121.229164,71.8186059 L121.229164,110.313234 L95.358818,84.4428873 L93.8623919,83.006567 C78.1063934,67.2526411 75.4119975,43.3823656 85.7771314,24.8532119 C106.233815,30.6109288 121.229164,49.4074495 121.229164,71.7025397 L121.229164,71.8186059" fill="#446BA6"></path>
<path d="M162.853437,83.0956893 L135.63382,110.317379 L135.63382,73.7316271 L135.590295,71.6569422 C135.590295,49.3763603 150.562846,30.5922753 170.994658,24.8200501 C181.388808,43.3554216 178.70063,67.2484959 162.934268,83.0148574 L162.853437,83.0956893" fill="#446BA6"></path>
<path d="M183.996154,120.338459 L145.501527,120.338459 L171.371873,94.4681128 L172.808193,92.9716868 C188.562119,77.2156883 212.432395,74.5212923 230.961548,84.8864263 C225.203831,105.343109 206.407311,120.338459 184.112221,120.338459 L183.996154,120.338459" fill="#FFF101"></path>
<path d="M172.627876,161.703655 L145.408259,134.484038 L181.994011,134.484038 L184.068696,134.440513 C206.349278,134.442586 225.13129,149.415137 230.905588,169.846949 C212.368144,180.239026 188.477142,177.552921 172.708708,161.784487 L172.627876,161.703655" fill="#45AB47"></path>
<path d="M135.526044,182.993528 L135.526044,144.4989 L161.39639,170.369247 L162.894889,171.805567 C178.648815,187.561566 181.343211,211.427696 170.978077,229.958922 C150.521394,224.201205 135.526044,205.406757 135.526044,183.107522 L135.526044,182.993528" fill="#45AB47"></path>
<path d="M94.1587755,171.946505 L121.378392,144.724815 L121.378392,181.310567 L121.421917,183.385252 C121.421917,205.665834 106.449366,224.449919 86.0175545,230.224217 C75.6234039,211.6847 78.311582,187.793698 94.0779436,172.027337 L94.1587755,171.946505" fill="#45AB47"></path>
<path d="M72.8046512,134.685081 L111.299279,134.685081 L85.4289326,160.555428 L83.9926123,162.051854 C68.2366138,177.807852 44.3684109,180.502248 25.8371846,170.137114 C31.5969741,149.678359 50.3914221,134.685081 72.6885849,134.685081 L72.8046512,134.685081" fill="#45AB47"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -0,0 +1,5 @@
name: Alfresco
description: |
Slef hosted your EDM with Alfresco on few seconds.
version: 5.1.0
category: EDM