Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docker images contain references to localhost #13

Open
ansorg opened this issue Mar 3, 2023 · 2 comments
Open

docker images contain references to localhost #13

ansorg opened this issue Mar 3, 2023 · 2 comments

Comments

@ansorg
Copy link

ansorg commented Mar 3, 2023

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
Copy link
Member

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
Copy link
Author

ansorg commented Mar 6, 2023

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants