Hi Emmanuel, I looked at your code quickly and noticed that you modified the WAYBACK_URL_PORT from 8080 to 80 in the Dockerfile and in your docker-compose.yml file you are mapping port 8080 of the host to the port 8080 of the container (while your service is actually running on port 80 inside the container). Try changing ports config in your compose file as "80:80" or "8080:80" (depending on how you want to access it from the host).
That said, you don't really *need* to modify the Dockerfile. Various environment variables we have towards the end of the OWB Dockerfile are configurable at run time (for example, in your compose file). Best, -- Sawood Alam Department of Computer Science Old Dominion University Norfolk VA 23529 On Fri, Sep 28, 2018 at 6:34 AM Emmanuel DI PRETORO <[email protected]> wrote: > Hello, > > I'm trying to install OpenWayback on a server via Docker, unfortunately, > without success. > > Here are the steps followed: > 1. Clone the original git repository (https://github.com/iipc/openwayback > ); > 2. Modify the Dockerfile ( > https://github.com/URF-SID/openwayback/blob/promise/1st_try/Dockerfile); > 3. Build the image (with docker image build -t promise/waybackpromise .); > 4. Write a basic docker-compose.yml ( > https://github.com/URF-SID/openwayback/blob/promise/1st_try/docker-compose.yml > ); > 5. Start the container (with docker-composes up -d); > 6. Configure nginx to act as a proxy (see > https://gist.github.com/edipretoro/107efc5ea575f965e4b848e3d717af2f). > > So I've basically followed the documentation ( > https://github.com/iipc/openwayback/wiki/How-to-build-and-run-in-Docker). > But if the site is visible (http://waybackpromise.urfsid.be/), clicking > on "Take Me Back" gives me a 404 error on the Tomcat server. > > I've tried to find the source of the problem, including on the mailing > list, but none of my attempts solved the problem. > > Can you tell me what error(s) I am making here? > > Thanks in advance! > > Kind regards, > > Emmanuel Di Pretoro > > -- > You received this message because you are subscribed to the Google Groups > "openwayback-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/group/openwayback-dev. > To view this discussion on the web visit > https://groups.google.com/d/msgid/openwayback-dev/dc58c7f0-43c3-4eea-a1b5-f23447b6ce19%40googlegroups.com > <https://groups.google.com/d/msgid/openwayback-dev/dc58c7f0-43c3-4eea-a1b5-f23447b6ce19%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "openwayback-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/openwayback-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/openwayback-dev/CALOnmf9qsS-z2LCpu%2B92owJX35ud4-P78k4eHifC8G50%2Br2yHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
