Coder Social home page Coder Social logo

Postgres unencrypted about dokploy HOT 9 OPEN

dokploy avatar dokploy commented on July 18, 2024
Postgres unencrypted

from dokploy.

Comments (9)

Siumauricio avatar Siumauricio commented on July 18, 2024 1

Correct @danverbs, for now just use the IP when I have more time I will investigate about this, but for now is functional

from dokploy.

danverbs avatar danverbs commented on July 18, 2024 1

I will try this and let you know. Thanks 👍🏻

from dokploy.

Siumauricio avatar Siumauricio commented on July 18, 2024

I will need to test this, because I've used pgadmin and dbeaber and 0 issues, probably it may need to adjust the database connection because it depends on the driver the tool are using

from dokploy.

Siumauricio avatar Siumauricio commented on July 18, 2024

@danverbs I test and it was working looks like using the domain as hostname is not working only with the ip of the vps

from dokploy.

danverbs avatar danverbs commented on July 18, 2024

Ok so don't use the url provided in Dokploy settings? Just the ip of the vps?

from dokploy.

danverbs avatar danverbs commented on July 18, 2024

I tried with just the IP and it still says 'The server doesn't support TLS' and is unencrypted. Could you share the steps you took to set this up?

from dokploy.

Siumauricio avatar Siumauricio commented on July 18, 2024

Hey @danverbs , I tested and it was working I share the configuration

  1. Create a postgres database (In my case only set the database name)
  2. Expose port, type 5432 and then save.
  3. copy the postgresql connection.

image

  1. go to Postico
    image
  2. type the postgresql connection but remember to remove the domain and set the ip of your vps
    image
  3. Click add server
  4. Select the database, click on test button it will appear some alert about TLS just accept it
    Screenshot 2024-05-20 at 1 10 00 AM
  5. Then click on test to check the connection is working
    image

from dokploy.

danverbs avatar danverbs commented on July 18, 2024

Thanks - I can connect as shown in your steps but Postico still says the connection is unencrypted? Surely we want it to be encrypted?

from dokploy.

Siumauricio avatar Siumauricio commented on July 18, 2024

The question is that it marks you that it is not a secure connection because we do not implement any configuration for the domain with that port, but making adjustments with some traefik configuration would be enough to achieve that result.

What I recommend in case you are afraid or something like that that the probability that it will happen is really low, is simply when you finish doing your tasks in the database remove the exposed port that way no one will be able to access the database from outside.

from dokploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.