09-26-2019 07:43 AM
Hi, I'm using Alfresco 6.1 Docker. I want to change the share from 8080 to some other port. I tried to change it and when i go to share link, it still go to http://localhost:8080/share link. Can someone please give complete steps to change my 8080 share port to something else.
Thank you.
09-30-2019 10:40 AM
In your docker-compose.yml file, update the "share.port" global property found under "alfresco" service definition. For example i need share port as : 8081
Look for "share" service definition:
Add "ports" config under share service definition:
Once done with updating docker-compose.yml file, stop all containers: docker-compose down
After containers are stopped, run command as : docker-compose build --no-cache
At last, start the containers again: docker-compose up
09-26-2019 08:49 AM
Update the pom (it would be parent pom if you have generated AIO project structure using SKD4) file containing below highlighted property.
<!-- Environment configuration properties -->
<share.port>8180</share.port>
<share.debug.port>9898</share.debug.port>
<acs.host>about-share-and-adminconsole-extension-acs</acs.host>
<acs.port>8080</acs.port>
<acs.debug.port>8888</acs.debug.port>
<postgres.port>5555</postgres.port>
Update the alfresco-global.properties which is part of platform-docker project:
# Alfresco Share Webapp (share.war) context, ports etc
share.context=share
share.host=localhost
share.port=8180
share.protocol=http
Just to double check, verify the docker-compose.yml file and make sure share service definition is poining to share.port
09-30-2019 01:14 AM
09-30-2019 10:40 AM
In your docker-compose.yml file, update the "share.port" global property found under "alfresco" service definition. For example i need share port as : 8081
Look for "share" service definition:
Add "ports" config under share service definition:
Once done with updating docker-compose.yml file, stop all containers: docker-compose down
After containers are stopped, run command as : docker-compose build --no-cache
At last, start the containers again: docker-compose up
10-01-2019 01:09 AM
this worked, Thank you so much for the help. Much appreciated..
Explore our Alfresco products with the links below. Use labels to filter content by product module.