OpenOlitor / openolitor-docker-compose

Running OpenOlitor on local machines or in a cloud environment made easy
https://openolitor.org
GNU Affero General Public License v3.0
1 stars 2 forks source link

docker images contain references to localhost #13

Open ansorg opened 1 year ago

ansorg commented 1 year ago

hello team,

I'm trying to set up an instance to present it to the local SoLaWi :-)

I forked the repo and made some small changes to get it to run in my server environment (behind traefik for easy ssl certs)

see https://github.com/ansorg/openolitor-docker-compose/tree/traefik

The system is up and running at https://ool.ax9.eu/ but it doesn't work because there are many requests (check browser console) for localhost like http://localhost:8080/api-csa1/ressource/style/kundenportal in both customer and admin frontend.

Did I do anything wrong, missed some step, some configuration?

regards Jens

AlwinEgger commented 1 year ago

Hi Jens

Thanks for your interest in OpenOlitor and for reaching out.

There is several options to use the docker-compose template we provide. You may fill in all your information into a json file and generate all configuration files. (Template is provided as dev.json) This great if you are running multiple instances on one server.

For testing or running a single instance server you also may change the config files directly. To solve your problem you need to adapt the config files for the front-end applications. There is one config.js for the Kundenportal and one for the Admin. If you replace the localhost part by the URL configured for your app, it should work.

ansorg commented 1 year ago

oh there is the localhost hiding! Somehow I missed that.

Thank you! Changing those worked.

Would using the method to create configuration file remove the "DEV" and also the Demo-project?

Going to try that next. Only thinking how to best maintain the additional stuff (labels) I need in the docker compose file

Looks nice so far, thanks again