nuxsmin / docker-syspass

Docker stuff for running sysPass on Docker
GNU General Public License v3.0
39 stars 21 forks source link

Usage with traefik #39

Open TheGreatDoc opened 4 years ago

TheGreatDoc commented 4 years ago

Hi,

Im trying to setup syspass behind traefik unsucessfully.

Some elements are trying to be loaded with http instead https and page is not loading correctly.

I have USE_SSL=no

Any thoughs on how to fix this?

Thanks in advance

TheGreatDoc commented 4 years ago

Update:

After first boot, I had to manually enter the container and edit applicationUrl in config.xml to match the current working url (https://syspass.domain.tld).

After that it worked so maybe a new ENV called APP_URL used to build the config is the solution.

nuxsmin commented 4 years ago

Hello,

unfortunately sysPass configuration is not ready for using in a Kubernetes environment, but I'm committed to work on this feature by using environment variables. I've successfully worked (already testing) in a Helm chart that would benefit from dynamic configuration from ConfigMaps and Secrets.

Thanks for the feedback!

fago commented 4 years ago

I ran into this as well. A separate ENV-URL would be best, but documenting it would be a good quickfix-

v-lopez commented 2 years ago

Hi, I am struggiling to set this up. Could you guys share your docke-compose file for this? I changed the applicationUrl in config.xml but still I get 404 errors.

HermanCattaneo commented 1 year ago

Hello @nuxsmin

I've successfully worked (already testing) in a Helm chart that would benefit from dynamic configuration from ConfigMaps and Secrets.

Sorry for hijacking the issue, can you please give us this helm chart? We would like to try syspass in kubernetes, your helm chart would be a great help for us.

Thank you!