{"id":18686105,"url":"https://github.com/xenit-eu/docker-alfresco","last_synced_at":"2025-04-12T04:54:10.503Z","repository":{"id":36559223,"uuid":"198842868","full_name":"xenit-eu/docker-alfresco","owner":"xenit-eu","description":"Xenit specific Alfresco images","archived":false,"fork":false,"pushed_at":"2025-03-25T13:00:17.000Z","size":3996,"stargazers_count":5,"open_issues_count":11,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T04:54:00.980Z","etag":null,"topics":["alfresco","docker"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xenit-eu.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-25T14:05:09.000Z","updated_at":"2025-03-21T09:19:51.000Z","dependencies_parsed_at":"2024-01-17T12:58:28.546Z","dependency_job_id":"ebaed148-2cc2-4d04-90db-6cce2b3ec0e5","html_url":"https://github.com/xenit-eu/docker-alfresco","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenit-eu%2Fdocker-alfresco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenit-eu%2Fdocker-alfresco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenit-eu%2Fdocker-alfresco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenit-eu%2Fdocker-alfresco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xenit-eu","download_url":"https://codeload.github.com/xenit-eu/docker-alfresco/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519472,"owners_count":21117757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alfresco","docker"],"created_at":"2024-11-07T10:26:10.371Z","updated_at":"2025-04-12T04:54:10.483Z","avatar_url":"https://github.com/xenit-eu.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alfresco in Docker and Alfresco Share in Docker\n\n\u003e [![Xenit Logo](https://xenit.eu/wp-content/uploads/2017/09/XeniT_Website_Logo.png)](https://xenit.eu/open-source)\n\u003e\n\u003e docker-alfresco is a part of the Xenit Open Source Tooling around Alfresco. Xenit is company with a big expertise and\n\u003e a strong team around Alfresco. If you'd like to learn more about our\n\u003e [tools](https://xenit.eu/open-source), [services](https://xenit.eu/alfresco) and\n\u003e [products](https://xenit.eu/alfresco-products), please visit our [website](https://xenit.eu).\n\nThis project builds Alfresco-specific docker images used by Xenit, starting with Alfresco 6.1.\n\n## Images created\n\n* [`docker.io/xenit/tomcat`] = xenit specific tomcat images\n* [`docker.io/xenit/alfresco-repository-skeleton`] = skeleton common for all Alfresco images per major version; includes java,\n  tomcat, init script, keystore\n* [`docker.io/xenit/alfresco-repository-community`] = community Alfresco images\n* [`private.docker.xenit.eu/alfresco-enterprise/alfresco-repository-enterprise`] = enterprise Alfresco images\n* [`docker.io/xenit/alfresco-share-skeleton`] = community Share images\n* [`docker.io/xenit/alfresco-share-community`] = skeleton common for all Share images per major version; includes java,\n  tomcat, init script\n\n## Supported Tags\n\n* [`:7.2.0`, `:7.2`, `:7`] = major, minor, revision\n\n## Overview\n\nThis is Xenit's repository for Alfresco and Share docker images. A major-minor version has a common skeleton.\n\n## Image Variants\n\n### Repository-only:\n\n* alfresco-repository-enterprise:\u003cversion\u003e\n* alfresco-repository-community:\u003cversion\u003e\n\nThese are the images used for a multi-container Alfresco enterprise deployment in production. To be used together with\nShare Docker Image , [`docker-solr`](https://github.com/xenit-eu/docker-solr)\n, [`postgres`](https://github.com/xenit-eu/docker-postgres).\n\nThe most basic setup uses the docker-compose files\nfrom [`2repository/src/integrationTest/resources`](https://github.com/xenit-eu/docker-alfresco/tree/master/2repository/src/integrationTest/resources)\n. These files are used in the integration tests.\n\n### Share-only:\n\nMulti-container: `share` to be used together with Alfresco Docker Image\n, [`docker-solr`](https://github.com/xenit-eu/docker-solr), [`postgres`](https://github.com/xenit-eu/docker-postgres).\n\n### Repository and share:\n\nImages with the repository and share are no longer built.\n\n## Environment variables\n\nThere are several environment variables available to tweak the behaviour. While none of the variables are required, they\nmay significantly aid you in using these images. We don't set default environment variables. The defaults that are documented\nin the following tables, are the values that are used when the environment variables are not set.\n\n### Common Environment variables\n\n| Variable                                            | Default                          | Description                                                                                                                                                                                                                                                                                              |\n|-----------------------------------------------------|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| TOMCAT_WEBAPPS                                      | /usr/local/tomcat/webapps        |                                                                                                                                                                                                                                                                                                          |\n| TOMCAT_BASE_DIR                                     | /usr/local/tomcat/temp           |                                                                                                                                                                                                                                                                                                          |\n| SHARED_LIB_DIR                                      | /usr/local/tomcat/shared/lib     |                                                                                                                                                                                                                                                                                                          |\n| GENERATED_CLASSPATH_DIR                             | /dev/shm/classpath               |                                                                                                                                                                                                                                                                                                          |\n| SHARED_CLASSPATH_DIR                                | /usr/local/tomcat/shared/classes |                                                                                                                                                                                                                                                                                                          |\n| TOMCAT_PORT                                         | 8080                             | non SSL port tomcat is listening on                                                                                                                                                                                                                                                                      |\n| TOMCAT_PORT_SSL                                     | 8443                             | SSL port tomcat is listening on                                                                                                                                                                                                                                                                          |\n| TOMCAT_SERVER_PORT                                  | 8005                             | Port for server communication                                                                                                                                                                                                                                                                            |\n| TOMCAT_MAX_HTTP_HEADER_SIZE                         | 32768                            | Maximum http header size                                                                                                                                                                                                                                                                                 |\n| TOMCAT_MAX_THREADS                                  | 200                              | Maximum number of threads                                                                                                                                                                                                                                                                                |\n| TOMCAT_ALLOW_CASUAL_MULTIPART_PARSING               | false                            | Set to true if Tomcat should automatically parse multipart/form-data request bodies when HttpServletRequest.getPart* or HttpServletRequest.getParameter* is called. The default is false.                                                                                                                |\n| TOMCAT_ALLOW_MULTIPLE_LEADING_FORWARD_SLASH_IN_PATH | false                            | Tomcat will collapse multiple leading / characters at the start of the return value for HttpServletRequest#getContextPath() to a single /. The default is false.                                                                                                                                         |\n| TOMCAT_CROSS_CONTEXT                                | false                            | Set to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. Set to false (the default) in security conscious environments, to make getContext() always return null.        |\n| JAVA_XMS                                            |                                  | -Xmx                                                                                                                                                                                                                                                                                                     |\n| JAVA_XMX                                            |                                  | -Xms                                                                                                                                                                                                                                                                                                     |\n| DEBUG                                               | false                            | -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n                                                                                                                                                                                                                                    |\n| JMX_ENABLED                                         | false                            | -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.rmi.port=5000 -Dcom.sun.management.jmxremote.port=5000 -Djava.rmi.server.hostname=$JMX_RMI_HOST |\n| JMX_RMI_HOST                                        | 0.0.0.0                          |                                                                                                                                                                                                                                                                                                          |\n| JAVA_OPTS_\\\u003cvariable\\\u003e=\\\u003cvalue\\\u003e                    | \\\u003cvalue\\\u003e                        | \\\u003cvariable\\\u003e                                                                                                                                                                                                                                                                                             |\n| JSON_LOGGING                                        | false                            | When true, all logs will be in JSON.                                                                                                                                                                                                                                                                     |\n| ACCESS_LOGGING                                      | false                            | When true, access logs will be printed. These logs are always in JSON format                                                                                                                                                                                                                             |\n| EXIT_ON_FAILURE                                     | true                             | When true, the Java process will exit when the application deployed in Tomcat fails to start. Can be turned of for debugging purposes.                                                                                                                                                                   |\n| TOMCAT_CACHE_MAX_SIZE                               | 100000                           |                                                                                                                                                                                                                                                                                                          |\n\n### Alfresco Environment variables\n\nThe alfresco-global.properties can be set via a generic mechanism by setting environment variables of the form\nGLOBAL_\u003cparameter\u003e, e.g. GLOBAL_alfresco.host.\n\nA subset of the alfresco-global.properties have also dedicated environment variables e.g. SOLR_SSL. Generic variables\ntake precedence.\n\nEnvironment variables:\n\n| Variable                                     | alfresco-global.property variable              | Default                                     | Description                                                                                         |\n|----------------------------------------------|------------------------------------------------|---------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| ALFRESCO_HOST                                | alfresco.host                                  | alfresco                                    |                                                                                                     |\n| ALFRESCO_PORT                                | alfresco.port                                  | 8080                                        |                                                                                                     |\n| ALFRESCO_PROTOCOL                            | alfresco.protocol                              | http                                        |                                                                                                     |\n| SHARE_HOST                                   | share.host                                     | share                                       |                                                                                                     |\n| SHARE_PORT                                   | share.port                                     | 8080                                        |                                                                                                     |\n| SHARE_PROTOCOL                               | share.protocol                                 | http                                        |                                                                                                     |\n| DB_DRIVER                                    | db.driver                                      | org.postgresql.Driver                       |                                                                                                     |\n| DB_HOST                                      | db.host                                        | localhost                                   |                                                                                                     |\n| DB_PORT                                      | db.port                                        | 5432                                        |                                                                                                     |\n| DB_NAME                                      | db.name                                        | alfresco                                    |                                                                                                     |\n| DB_USERNAME                                  | db.username                                    | alfresco                                    |                                                                                                     |\n| DB_PASSWORD                                  | db.password                                    | admin                                       |                                                                                                     |\n| DB_URL                                       | db.url                                         | jdbc:postgresql://postgresql:5432/alfresco  |                                                                                                     |\n| DB_QUERY                                     | db.pool.validate.query                         | select 1                                    |                                                                                                     |\n| INDEX                                        | index.subsystem.name                           | solr6                                       |                                                                                                     |\n| SOLR_HOST                                    | solr.host                                      | solr                                        |                                                                                                     |\n| SOLR_PORT                                    | solr.port                                      | 8080                                        |                                                                                                     |\n| SOLR_PORT_SSL                                | solr.port.ssl                                  | 8443                                        |                                                                                                     |\n| SOLR_SSL                                     | solr.secureComms                               | https                                       | When using value `secret`, the global property environment variable `GLOBAL_solr.sharedSecret=\u003csecret-value\u003e` should be added to this container. The solr should also be configured with the appropriate properties and secret value. |\n| ENABLE_CLUSTERING                            | alfresco.cluster.enabled                       | false                                       |                                                                                                     |\n| TOMCAT_SSL_KEYSTORE                          | encryption.ssl.keystore.location               | /keystore/ssl.keystore                      | Path for the ssl keystore file. Added to both the Tomcat connector and alfresco-global.properties   |\n| TOMCAT_SSL_KEYSTORE_KEY_META_DATA_LOCATION   | encryption.ssl.keystore.keyMetaData.location   | /keystore/keystore-passwords.properties     | Path for the ssl keystore file. Added to both the Tomcat connector and alfresco-global.properties   |\n| TOMCAT_SSL_KEYSTORE_PASSWORD                 | ssl-keystore.password                          |                                             | Password for the ssl keystore. Added to both the Tomcat connector and alfresco-global.properties    |\n| TOMCAT_SSL_TRUSTSTORE                        | encryption.ssl.truststore.location             | /keystore/ssl.truststore                    | Path for the ssl truststore file. Added to both the Tomcat connector and alfresco-global.properties |\n| TOMCAT_SSL_TRUSTSTORE_KEY_META_DATA_LOCATION | encryption.ssl.truststore.keyMetaData.location | /keystore/ssl-keystore-passwords.properties | Path for the ssl truststore file. Added to both the Tomcat connector and alfresco-global.properties |\n| TOMCAT_SSL_TRUSTSTORE_PASSWORD               | ssl-truststore.password                        |                                             | Password for the ssl truststore. Added to both the Tomcat connector and alfresco-global.properties  |\n| DIR_ROOT                                     | dir.root                                       | /opt/alfresco/alf_data                      |                                                                                                     |\n| GLOBAL_\\\u003cvariable\\\u003e                          | \\\u003cvariable\\\u003e                                   |                                             |                                                                                                     |\n\n### Share Environment variables\n\nThere are several environment variables available to tweak the behaviour. While none of the variables are required, they\nmay significantly aid you in using these images. The variables are read by an init script which further replaces them in\nthe relevant files. Such relevant files include:\n\n* share-config-custom.xml\n\nSee also environment variables from lower layers: [`docker-openjdk`](https://github.com/xenit-eu/docker-openjdk)\nand [`docker-tomcat`](https://github.com/xenit-eu/docker-tomcat).\n\nEnvironment variables:\n\n| Variable                   | Default                                | Description                                                                                                                                                    |\n|----------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ALFRESCO_HOST              | alfresco                               | Used to generate WebDav links.                                                                                                                                 |\n| ALFRESCO_PORT              | 8080                                   | Used to generate WebDav links.                                                                                                                                 |\n| ALFRESCO_PROTOCOL          | http                                   | Used to generate WebDav links.                                                                                                                                 |\n| ALFRESCO_CONTEXT           | alfresco                               | Used to generate WebDav links.                                                                                                                                 |\n| ALFRESCO_INTERNAL_HOST     | alfresco                               | Used for communication share-alfresco.                                                                                                                         |\n| ALFRESCO_INTERNAL_PORT     | 8080                                   | Used for communication share-alfresco.                                                                                                                         |\n| ALFRESCO_INTERNAL_PROTOCOL | http                                   | Used for communication share-alfresco.                                                                                                                         |\n| ALFRESCO_INTERNAL_CONTEXT  | alfresco                               | Used for communication share-alfresco.                                                                                                                         |\n| SHARE_CONFIG_PATH          | alfresco/web-extension                 | Parent folder for the share-config-custom.xml relative to GENERATED_CLASSPATH_DIR\t                                                                             |\n| SHARE_CONFIG_TEMPLATE_FILE | /docker-config/share-config-custom.xml | Path for a template file for share-config-custom.xml. This file supports variable replacement of the above variables, but also any other environment variable. |\n\nIf environment variables are not sufficient to cover the use-case desired, a custom share-config-custom.xml file can be\nmounted in /docker-config/share-config-custom.xml.\n\n## Support \u0026 Collaboration\n\nThese images are updated via pull requests to\nthe [xenit-eu/docker-alfresco/](https://github.com/xenit-eu/docker-alfresco/) Github-repository.\n\n### How to build\n\nTo build a local version of the _alfresco_ images:\n\n```\n./gradlew buildDockerImage\n```\n\nor for a specific image:\n\n```\n./gradlew 2repository:enterprise-6.1.0:buildDockerImage\n```\n\nTo run the integration tests:\n\n```\n./gradlew integrationTests\n```\n\nTo see all available tasks:\n\n```\n./gradlew tasks\n```\n\nIf you have access to [Alfresco private repository](https://artifacts.alfresco.com/nexus/content/groups/private/) add\nthe repository to build.gradle and add\n\n```\n-Penterprise\n```\n\nto your build commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenit-eu%2Fdocker-alfresco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenit-eu%2Fdocker-alfresco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenit-eu%2Fdocker-alfresco/lists"}