I was setting up the Alfresco community edition 6.2 on my Linux server with docker.
Everything looks all good after the install, but later on, I wanted to build my own proxy server, so I removed the ngnix proxy part from the docker-compose.yml file:
proxy:
image: alfresco/acs-community-ngnix:1.0.0
mem_limit: 128m
depends_on:
- alfresco
ports:
- 8080:8080
links:
- alfresco
- share
And after rebuilding the container, I found I couldn't access the URLs. So I added this part below under the "share:" section in the docker-compose.yml file and the share page works as expected: http://localhost:8080/share/
share:
image: alfresco/alfresco-share:6.1.0
mem_limit: 1g
environment:
REPO_HOST: "alfresco"
REPO_PORT: "8080"
JAVA_OPTS: "
-Xms500m
-Xmx500m
-Dalfresco.host=localhost
-Dalfresco.port=8080
-Dalfresco.context=alfresco
-Dalfresco.protocol=http
"
ports:
- 8080:8080
But still, http://localhost:8080/alfresco doesn't work, it's complaining that the page cannot be found:
[cgiadmin@Raptor docker-compose-6.2-ga]$ curl -v -uadmin http://localhost:8080/alfresco
Enter host password for user 'admin':
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8080 (#0)
* Server auth using Basic with user 'admin'
> GET /alfresco HTTP/1.1
> Host: localhost:8080
> Authorization: Basic YWRtaW46IWxpa2VBbGZyZXNjbw==
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 404
< Content-Length: 0
< Date: Tue, 15 Dec 2020 22:18:05 GMT
< Server:
<
* Connection #0 to host localhost left intact
Is there any extra steps that I need to do, could someone help?
I guess Alfresco Docker service is not starting. Check the logs to find the cause.
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.