Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
N

nikosgpet

@nikosgpet
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Default Postgres settings in Digital Ocean
    N nikosgpet

    @girish thanks for the guidance, that's exactly what I was looking for

    Support postgresql

  • Default Postgres settings in Digital Ocean
    N nikosgpet

    @girish Indeed it's in the context of Baserow, but my use case is general. I was trying to connect to the app's database with a program like DataGrip.

    Support postgresql

  • Default Postgres settings in Digital Ocean
    N nikosgpet

    I was trying to connect to the database of an application installed in Cloudron and visualize the database with a program like DataGrip.

    I hadn't realised that the db credentials of each app can be accessed in the environment of the app with PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE}

    The problem I faced ended up being that once DataGrip was connected to the Cloudron server with an SSH tunnel, it was expecting to be able to connect to the database in a local port. However, the postgresql container run by Cloudron doesn't expose the 5432 port, so there was no way to connect to it through a simple ssh tunnel. I ended up using a bit of a hack solution to expose the database port 5432 by running a docker container that does only that.

    docker run -d --rm --network=cloudron --name sql_redirect --link postgresql:postgresql -p 5432:1234 alpine/socat TCP-LISTEN:1234,reuseaddr,fork TCP:postgresql:5432

    Support postgresql

  • Baserow - Airtable Alternative
    N nikosgpet

    @bram Baserow looks really promising! I just took it for a spin using Cloudron. I am would like to connect to the postgres database, but I really can't seem to find it. When I connect to the app by the terminal, there is no Postgres process running. Similarly, in the supervisor file I see no mention of postgres. Yet in all evidence, baserow is running smoothly so surely the database is running somewhere, I just can't seem to find where. Some help would be greatly appreciated.

    App Wishlist

  • Default Postgres settings in Digital Ocean
    N nikosgpet

    Hello,

    I created a Cloudron Droplet in Digital Ocean. Now I am trying to access the Postgresql database of Cloudron, but I don't know which are the default settings.

    In the documentation, it is implied that we need to know the username, password, host and database, however all these where created by default during the installation of Cloudron, and the marketplace page doesn't have any info about those variables.

    I would be gratefull if you could point me out how I can find the necessary info to access Cloudron's database.

    Support postgresql
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search