Git Product home page Git Product logo

Comments (6)

lachlan-00 avatar lachlan-00 commented on July 22, 2024

are you proxying the container to be /ampache through something like nginx/etc?

The container is set to the / path on the webroot you would probably need the local_web_path set as well depending on your setup.

There are some issues with docker/proxying that i'll have a search for and see if there's anything in the wiki. cause i'm sure we've had this issue with people before

from ampache-docker.

calebjones avatar calebjones commented on July 22, 2024

I'm not proxying yet, just testing directly. But I'm planning to proxy via either caddy or apache.

I'll check local_web_path.

from ampache-docker.

calebjones avatar calebjones commented on July 22, 2024

config/ampache.cfg.php has these web_path values:

web_path = "/ampache"
;local_web_path = "http://localhost/ampache"

Adding local_web_path = "http://localhost/ampache" (uncommented) to the config file doesn't fix things.

from ampache-docker.

calebjones avatar calebjones commented on July 22, 2024

I found a way to fix the 404, but I'm not sure how to fold this into the container so you can easily deploy a new container.

I ended up appending the following to /etc/apache2/sites-enabled/001-ampache.conf:

Alias /ampache "/var/www/public"

The issue is that docker can't know what the alias will be until after the initial ampache setup in the web UI.

from ampache-docker.

calebjones avatar calebjones commented on July 22, 2024

I'd recommend adding a docker environment variable that can be passed into the docker command or set in docker-compose.yml to ensure this Alias is set.

... unless I'm missing something and there's a better way to do this. But on my previous installation (that I'm migrating from) Alias is how I set this up.

from ampache-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.