question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change basepath + port of running docker container to use HTTPS

See original GitHub issue

Is your feature request related to a problem?

Hello,

I really love the project so far! It was really easy to setup and works great ❤️

I do not have much experience regarding Docker. I got memos running by using the command in your documentation: docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:latest

Describe the solution you’d like

Using that, memos is accessible via http://mydomain:5320. However, I want to use serve it under something like https://mydomain/memos (i.e. https://mydomain/memos:443).

Is this possible somehow without rebuilding the container?

I saw that there are config files in /var/lib/docker/containers/ but I have no idea what to change there to make that happen (or if that’s even possible there)

Additional context

No response

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
boojackcommented, Dec 10, 2022

The best way is to enable HTTPS by nginx.

1reaction
misteucommented, Dec 17, 2022

I’m fine with the setup right now 😃 Thanks all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 2+ - Dynamically change base path of app
What was concretely first done is this: add a file named config. json in /src/assets/config. json with the base-path in the content (and...
Read more >
Configuring a registry - Docker Documentation
NOTE: When using Let's Encrypt, ensure that the outward-facing address is accessible on port 443 . The registry defaults to listening on port...
Read more >
Running authelia on a non standard HTTPs port. Base href is ...
I am using default configured path 'authelia'. And this setup works as long as I am running on the standard 443 port. Redirect...
Read more >
Container Deployment — pgAdmin 4 6.18 documentation
Allows the port that the server listens on to be set to a specific value rather than using the default. PGADMIN_SERVER_JSON_FILE. Default: /pgadmin4/servers....
Read more >
Deployment — Jaeger documentation
make sure to expose only the ports you use in your deployment scenario! docker run \ --rm \ -p5775:5775/udp \ -p6831:6831/udp \ -p6832:6832/udp ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found