{"action":"created","issue":{"url":"https://api.github.com/repos/fjudith/docker-alfresco/issues/2","repository_url":"https://api.github.com/repos/fjudith/docker-alfresco","labels_url":"https://api.github.com/repos/fjudith/docker-alfresco/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fjudith/docker-alfresco/issues/2/comments","events_url":"https://api.github.com/repos/fjudith/docker-alfresco/issues/2/events","html_url":"https://github.com/fjudith/docker-alfresco/issues/2","id":299589728,"number":2,"title":"Settings - Alfresco","user":{"login":"eniosoeiro","id":23486594,"avatar_url":"https://avatars0.githubusercontent.com/u/23486594?v=4","gravatar_id":"","url":"https://api.github.com/users/eniosoeiro","html_url":"https://github.com/eniosoeiro","followers_url":"https://api.github.com/users/eniosoeiro/followers","following_url":"https://api.github.com/users/eniosoeiro/following{/other_user}","gists_url":"https://api.github.com/users/eniosoeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/eniosoeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eniosoeiro/subscriptions","organizations_url":"https://api.github.com/users/eniosoeiro/orgs","repos_url":"https://api.github.com/users/eniosoeiro/repos","events_url":"https://api.github.com/users/eniosoeiro/events{/privacy}","received_events_url":"https://api.github.com/users/eniosoeiro/received_events","type":"User","site_admin":false},"labels":[{"id":717278085,"url":"https://api.github.com/repos/fjudith/docker-alfresco/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"open","locked":false,"assignee":{"login":"fjudith","id":17888379,"avatar_url":"https://avatars1.githubusercontent.com/u/17888379?v=4","gravatar_id":"","url":"https://api.github.com/users/fjudith","html_url":"https://github.com/fjudith","followers_url":"https://api.github.com/users/fjudith/followers","following_url":"https://api.github.com/users/fjudith/following{/other_user}","gists_url":"https://api.github.com/users/fjudith/gists{/gist_id}","starred_url":"https://api.github.com/users/fjudith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjudith/subscriptions","organizations_url":"https://api.github.com/users/fjudith/orgs","repos_url":"https://api.github.com/users/fjudith/repos","events_url":"https://api.github.com/users/fjudith/events{/privacy}","received_events_url":"https://api.github.com/users/fjudith/received_events","type":"User","site_admin":false},"assignees":[{"login":"fjudith","id":17888379,"avatar_url":"https://avatars1.githubusercontent.com/u/17888379?v=4","gravatar_id":"","url":"https://api.github.com/users/fjudith","html_url":"https://github.com/fjudith","followers_url":"https://api.github.com/users/fjudith/followers","following_url":"https://api.github.com/users/fjudith/following{/other_user}","gists_url":"https://api.github.com/users/fjudith/gists{/gist_id}","starred_url":"https://api.github.com/users/fjudith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjudith/subscriptions","organizations_url":"https://api.github.com/users/fjudith/orgs","repos_url":"https://api.github.com/users/fjudith/repos","events_url":"https://api.github.com/users/fjudith/events{/privacy}","received_events_url":"https://api.github.com/users/fjudith/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-23T03:44:34Z","updated_at":"2018-03-01T08:59:39Z","closed_at":null,"author_association":"NONE","body":"Great day,\r\n\r\n\r\nI really enjoyed your work and it's already in testing.\r\n\r\n\r\nThere was a doubt, I do not know Docker. There are some customizations that are performed on the following files:\r\n\r\n- share-config-custom.xml\r\n- alfresco-global.properties\r\n\r\nHow could you use docker-compose with custom settings?\r\n\r\nAnd \r\n\r\nWhat is the procedure for installing AMP and JAR packages?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fjudith/docker-alfresco/issues/comments/369522335","html_url":"https://github.com/fjudith/docker-alfresco/issues/2#issuecomment-369522335","issue_url":"https://api.github.com/repos/fjudith/docker-alfresco/issues/2","id":369522335,"user":{"login":"fjudith","id":17888379,"avatar_url":"https://avatars1.githubusercontent.com/u/17888379?v=4","gravatar_id":"","url":"https://api.github.com/users/fjudith","html_url":"https://github.com/fjudith","followers_url":"https://api.github.com/users/fjudith/followers","following_url":"https://api.github.com/users/fjudith/following{/other_user}","gists_url":"https://api.github.com/users/fjudith/gists{/gist_id}","starred_url":"https://api.github.com/users/fjudith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjudith/subscriptions","organizations_url":"https://api.github.com/users/fjudith/orgs","repos_url":"https://api.github.com/users/fjudith/repos","events_url":"https://api.github.com/users/fjudith/events{/privacy}","received_events_url":"https://api.github.com/users/fjudith/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T08:59:39Z","updated_at":"2018-03-01T08:59:39Z","author_association":"OWNER","body":"Hello,\r\n\r\nI'm following the 12 factor best practices to create the image, therefore the whole configuration required to initialize the containers is computed by the `docker-entrypoint`.\r\n\r\nDocker does not support `config-map` as Kubernetes does, so you will have to fork the git repository and update the `docker-entrypoint.sh`.\r\nAn alternative is to update the `Dockerfile` and add your configuration templates from the asset directory.\r\n\r\n> Notice: `docker-entrypoint.sh` will still compute from Environment variables\r\n\r\n```docker\r\nCOPY assets/share-custom-config.xml ${CATALINA_HOME}/shared/classes/alfresco/\r\nCOPY assets/alfresco-global-properties $CATALINA_HOME/shared/classes/\r\n```\r\nFor AMP and JAR, i recommend that you download the binairies on the fly at docker-build\r\n\r\n```docker\r\nENV MD_PREVIEW_VERSION=1.3.0\r\nENV MANUAL_MANAGER_VERSION=1.0.0\r\n\r\nWORKDIR /alfresco/tomcat/webapps/share/WEB-INF/lib/\r\nRUN curl -L https://github.com/fjudith/manual-manager/releases/download/v${MANUAL_MANAGER_VERSION}/loftux-manual-manager.jar \\\r\n-o loftux-manual-manager.jar\r\n\r\nWORKDIR /alfresco/tomcat/webapps/alfresco/WEB-INF/lib/\r\nRUN curl -L https://github.com/fjudith/manual-manager/releases/download/v${MANUAL_MANAGER_VERSION}/loftux-manual-manager.jar \\\r\n    -o loftux-manual-manager.jar\r\n\r\nWORKDIR /alfresco/tomcat/webapps/share/WEB-INF/lib/\r\nRUN curl -L https://github.com/fjudith/manual-manager/releases/download/v${MANUAL_MANAGER_VERSION}/loftux-manual-manager.jar \\\r\n    -o loftux-manual-manager.jar\r\n\r\n# Copy Markdown Preview Add-On.\r\n# https://github.com/cetra3/md-preview\r\nWORKDIR /alfresco/amps_share\r\nRUN curl -L https://github.com/fjudith/md-preview/releases/download/${MD_PREVIEW_VERSION}/parashift-mdpreview-share-${MD_PREVIEW_VERSION}.amp \\\r\n    -o parashift-mdpreview-share-${MD_PREVIEW_VERSION}.amp\r\n\r\nWORKDIR /alfresco/amps/\r\nRUN curl -L https://github.com/fjudith/md-preview/releases/download/${MD_PREVIEW_VERSION}/parashift-mdpreview-repo-${MD_PREVIEW_VERSION}.amp \\\r\n-o parashift-mdpreview-repo-${MD_PREVIEW_VERSION}.amp\r\n```` \r\n\r\nBut you can also use the `COPY` method if you put your binaries in the `assets` directory."}}
{"actor":{"display_login":"fjudith"}}