Comments (6)
the etc folder is not mounted.
Yes, it appears to be missing, thanks for pointing it....
from lizmap-docker-compose.
- 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.
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.
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.
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.
Fixed in bad4b25
from lizmap-docker-compose.
Related Issues (20)
- Installation Ended. This username Already exists HOT 1
- problem displaying images associated with points on the map HOT 3
- Persmission denied when running ./configure.sh configure HOT 1
- inconsistency in the configure() procedure HOT 4
- Install lizmap with docker compose on a server HOT 2
- templates and additional modules HOT 1
- Production server requirements HOT 1
- ERRO docker web client offiline HOT 11
- QGIS server : cp: cannot stat '/srv/etc/qgis/*': No such file or directory HOT 7
- lizmap/www directory not created HOT 4
- Lizmap docker compose and PostGIS HOT 2
- can't create 'lizmap/var/config
- The lizmap_server plugin needs to be updated HOT 1
- Proper way to update lizmap version HOT 2
- /lizmap/www/ directory is empty
- URL Qgis Server not correct HOT 2
- rollback config files
- www.dist
- 504 Timeout response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lizmap-docker-compose.