Coder Social home page Coder Social logo

Comments (1)

joe-eklund avatar joe-eklund commented on June 29, 2024

Just wanted to chime in here about how I got this working with custom container names.

I inserted librephotos in my custom docker compose file that has all my other apps, and as such did not want to have them named frontend, etc.

After changing the container names to librephotos-frontend, etc. I ran into the problem that the proxy could not find the backend. I then copied the nginx conf file and modified it to reference librephotos-backend wherever backend was. I then mounted the nginx conf file through a docker volume to /etc/nginx/nginx.conf in the librephotos proxy container.

You also need to make sure that you have the correct BACKEND_HOST variable set in your environment for the librephotos-backend container, otherwise you will run into the issue in LibrePhotos/librephotos#152.

This does mean I will have to keep an eye on any nginx conf changes and make them on my custom file before I docker pull in any new changes, but this is fine since it is worth it to have all my apps on one master docker compose file. Everything seems to be working now.

from librephotos-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.