Giter Site home page Giter Site logo

Comments (6)

dmarteau avatar dmarteau commented on June 27, 2024 1

the etc folder is not mounted.

Yes, it appears to be missing, thanks for pointing it....

from lizmap-docker-compose.

dmarteau avatar dmarteau commented on June 27, 2024
  • Check where the /srv/etc is mounted (the LIZMAP_DIR variable in the env file.)
  • Check the files in the /srv/etc in the container.
  • Did you run ./configure.sh configure after copying your configuration file ?

from lizmap-docker-compose.

ca-rock avatar ca-rock commented on June 27, 2024

The pg_service file is copied into the lizmap container in /srv/etc. It's totally consistent with the docker-compose.yml rules.
But it seems that it's the map container that looks for this file. I have the file-not-found error from it.
When I write the pg_service file into the map container on /srv/etc, it works.
Shouldn't the pg_service.conf file be copied into the map container at /srv/etc instead of the lizmap container ?

from lizmap-docker-compose.

dmarteau avatar dmarteau commented on June 27, 2024

The pg_service file is copied into the lizmap container in /srv/etc

No, the pg_service file is mounted in various container since it it used by several services. A pg_service file is related to the local configuration and there is no reason to copy it in the container: rules for local configuration is to 'mount' them from local directory/files.

from lizmap-docker-compose.

ca-rock avatar ca-rock commented on June 27, 2024

I understand. In better words : It seems that the map container needs /src/etc/pg_service.conf and doesn't find it, shouldn't the /srv/etc be mounted into the map container too ?
For now :
volumes:
- { type: bind, source: "${LIZMAP_PROJECTS}", target: /srv/projects }
- { type: bind, source: "${LIZMAP_DIR}/plugins", target: /srv/plugins }
- { type: bind, source: "${LIZMAP_DIR}/wps-data", target: /srv/data }
the etc folder is not mounted.

from lizmap-docker-compose.

dmarteau avatar dmarteau commented on June 27, 2024

Fixed in bad4b25

from lizmap-docker-compose.

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.