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.
Solved! Go to Solution.
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
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
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
this worked, Thank you so much for the help. Much appreciated..
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.