docker-syspass icon indicating copy to clipboard operation
docker-syspass copied to clipboard

Usage with traefik

Open TheGreatDoc opened this issue 5 years ago • 5 comments

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 avatar Jun 11 '20 18:06 TheGreatDoc

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.

TheGreatDoc avatar Jun 12 '20 06:06 TheGreatDoc

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!

nuxsmin avatar Jun 24 '20 17:06 nuxsmin

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

fago avatar Jul 21 '20 15:07 fago

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.

v-lopez avatar Oct 17 '21 08:10 v-lopez

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!

HermanCattaneo avatar Feb 13 '23 12:02 HermanCattaneo