Giter Club home page Giter Club logo

Comments (2)

mgdigital avatar mgdigital commented on May 19, 2024

Hi, I don't think I've understood the problem being caused by the file permissions but it would be best to refer to the Postgres and/or Docker documentation to resolve this.

The app can be configured to point at any Postgres instance. If you're using the example docker-compose file the database will be exposed on port 5432 and you can connect using the credentials provided in the environment variables (by default user postgres/password postgres).

from bitmagnet.

rezad1393 avatar rezad1393 commented on May 19, 2024

Hi, I don't think I've understood the problem being caused by the file permissions but it would be best to refer to the Postgres and/or Docker documentation to resolve this.

The app can be configured to point at any Postgres instance. If you're using the example docker-compose file the database will be exposed on port 5432 and you can connect using the credentials provided in the environment variables (by default user postgres/password postgres).

I don't personally use databases (outside of sqlite) so I didn't mean I can't access the db or not via postgres.

what I meant was this:
when I tried to use this app I created a folder in my home dir and named it bitmangnet.
inside I created a compose.yaml and then run 'docker compose up' as my regular user (my user is added to docker group)
so far so good.
then I see that folder another created named 'data/postgres'.
that folder in not accessible to my user because of permission set for that folder as 'ower userid:70 and group root)

this makes it problematic for folder management and backup.

I prefer the folder to have permission as my user.
I don't know if this is at all possible but it would be a great enhancement.

from bitmagnet.

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.