retrievercommunications / docker-jasperserver

Docker image for the community edition of JasperReports® Server.
https://hub.docker.com/r/retriever/jasperserver/
MIT License
47 stars 51 forks source link

Connecting to an external postgres database and specific schema #46

Open tarakanov-d opened 3 months ago

tarakanov-d commented 3 months ago

Hello can I connect to an external postgres database with a specific schema using docker-compose? The question concerns which ENV i can use. For example, I have a postgres database test_base with the address 10.10.10.10 and there is a schema is jasper This option will work? environment:

grange74 commented 3 months ago

In theory, yes, as long as the jasperserver docker container has network access to 10.10.10.10. The best way to know is to try it and check the logs.