lal309

joined 2 years ago
MODERATOR OF
[–] lal309 3 points 1 year ago (1 children)

You got it! As long as nginx can reach that service container, it will forward the request to it.

service1.example.com is configured in nginx with a proxy host of service1:1234, service2.example.com is proxied to service2:8080 and so on.

[–] lal309 9 points 1 year ago* (last edited 1 year ago) (3 children)

When you created your containers, did you create a “frontend” and “backend” docker network? Typically I create those two networks (or whatever name you want) and connect all my services (gitlab, Wordpress, etc) to the “backend” network then connect nginx to that same “backend” network (so it can talk to the service containers) but I also add nginx to the “frontend” network (typically of host type).

What this does is it allows you to map docker ports to host ports to that nginx container ONLY and since you have added nginx to the network that can talk to the other containers you don’t have to forward or expose any ports that are not required (3000 for gitlab) to talk from the outside world into your services. Your containers will still talk to each other through native ports but only within that “backend” network (which does not have forwarded/mapped ports).

You would want to setup your proxy hosts exactly like you have them in your post except that in your Forward Hostname you would use the container name (gitlab for example) instead of IP.

So basically it goes like this

Internet > gitlab.domain.com > DNS points to your VPS > Nginx receives requests (frontend network with mapped ports like 443:443 or 80:80) > Nginx checks proxy hosts list > forwards request to gitlab container on port 3000 (because nginx and gitlab are both in the same “backend” network) > Log in to Gitlab > Code until your fingers smoke! > Drink coffee

Hope this help!

Edit: Fix typos

[–] lal309 1 points 1 year ago

Okay that sounds like importing/exporting an stl should be an easy task. Let’s hope it is for me hahaha

[–] lal309 1 points 1 year ago

I’ll check out that series. Need a bit of a jumó start to get started.

[–] lal309 1 points 1 year ago (3 children)

Say I have an stl of car. I would like to take that stl and import it into , push some buttons and sprinkle fairy dust to create a wireframe of said car (like in the link provided in the post) the export that wireframe to an stl, svg, or whatever I can to be used on my laser or printer.

Alternatively, if such “import” feature does not exist, then use to manually create the wireframe of a car then export it the same way as above.

[–] lal309 3 points 1 year ago (2 children)

Okay I’ll check this out. I’ve not touched Blender out of intimidation. Every time I install it, I’m just overwhelmed with the insane amount of buttons and levers you can pull or push.

I guess it’s time to sit down, bite down on a stick and do it.

[–] lal309 1 points 1 year ago

Well…. you just blocked off my calendar for the weekend!

[–] lal309 1 points 1 year ago (1 children)

I got ya. Took a quick look at that link and it looks like the client is Windows specific which is frowned upon and permanently blacklisted in this house!!!

Still, I appreciate the reply

[–] lal309 2 points 1 year ago (5 children)

I’ve been toying with the idea of standing it up. Any recommendations for the GUI side?

[–] lal309 1 points 1 year ago

Sad indeed. Maybe raising an issue on GitHub? Even if you don’t end up using cloudbeaver, it’s worth reporting it. Maybe they don’t know there’s a problem with this component of their app.

[–] lal309 1 points 1 year ago (2 children)

I do remember being a bit lost with initial connection to a postgres when I first spun up the app. I clicked around for a few minutes but after than it has been very handy. My use case was extremely basic as I just needed to manipulate some records that I did not know the right query for and to visualize the rows I needed.

[–] lal309 1 points 1 year ago (4 children)

Have you taken a look at CloudBeaver? I’m not sure I understand what an ERD is but I’ve used this to manage and work with databases before. Pretty easy, UI is not bad at all and it’s self host-able (through docker). I don’t know if it meets your criteria 100% but worth checking out.

view more: ‹ prev next ›