All Questions
Tagged with postgresql docker
4,266
questions
0
votes
0
answers
18
views
I can't open server in 0.0.0.0 instead it is working in 127.0.0.1 in while using Docker , Django and Postgres [duplicate]
I am a newbie to this.
settings.py file is:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'PASSWORD':...
-1
votes
2
answers
48
views
Docker postgres connectivity isuue
Can anyone help me please with this?
what I run:
docker run --name pgres --rm \
-e POSTGRES_USER=uzer \
-e POSTGRES_PASSWORD=1234 \
-e POSTGRES_DB=sample_db \
-p 5432:5432 postgres:14....
1
vote
0
answers
9
views
Parse Platform dashboard unauthorized when accessing the parse-server
What are the possible problems that is causing {"error":"unauthorized"} in the Parse Dashboard when accessing the dashboard is accessing: http://192.168.2.10:1337/parse/serverInfo
...
0
votes
1
answer
50
views
Docker: The data directory was initialized by PostgreSQL version 14, which is not compatible with this version 15.7 (Debian 15.7-1.pgdg120+1)
Above mentioned, is the error I am getting while running my postgres service among other services in my compose.yaml file.
To let you know the change I made,
I just changed the version from postgres:...
0
votes
0
answers
24
views
Postgres Docker container does not start with a custom shell script
I have a docker-compose file with a Postgres image. The service definition is as follows:
services:
postgres:
image: postgres:latest
container_name: postgres
volumes:
- "{{ ...
0
votes
0
answers
23
views
Database does not exist docker image Npgsql.PostgresException (0x80004005): 3D000: database "CatalogDb" does not exist
I am trying to connect to postgres database running on docker container from visual studio, I am sure the DB exists and here is the logs:
docker ps:
docker ps
CONTAINER ID IMAGE COMMAND ...
-1
votes
1
answer
59
views
PostgreSQL database not connecting to spring-boot application
I am currently setting up postgreSQL db for my spring-boot project. However, when I try to launch the tomcat server I get exception saying that the repository beans could not be created due to this:
...
0
votes
0
answers
40
views
HTTP 504 error whenever I try to make a postgres destination connector on airbyte
I'm trying to set up a destination connector for postgres on Airbyte. I'm running the postgres database on a docker container. However, after typing in all the database credentials on my local ...
0
votes
1
answer
23
views
Choosen database is not used when using postgresql with docker
I am new to docker.I have written a docker-compose.yaml with following :
services:
postgres:
image: postgres
container_name: postgres_db
restart: unless-stopped
ports:
- "...
0
votes
1
answer
48
views
Debian docker Error: libpq.so.5: cannot open shared object file: No such file or directory
I am using docker to build a diesel rust application, For ease of deployment i am using the below DockerFile to create the image, but when i try to run it , it gives the error
/app/rest-jwt-rust: ...
0
votes
1
answer
31
views
How to use other services when using the airflow docker image?
I am just starting with airflow. I took a course in which the teacher used an unofficial image of airflow: puckel/docker-airflow together with other images of jupyter, postgres and minio in a docker-...
3
votes
2
answers
60
views
Error connecting to Postgres database, but can connect on pgadmin
Im having this error when trying to connect to the database:
[auth][cause]: error: password authentication failed for user "user"
But i can connect to pgadmin normaly with the same ...
-1
votes
1
answer
54
views
Docker volume is cleared on every restart via docker-compose on ubuntu [closed]
Docker volume is cleared on every restart via docker-compose on ubuntu server, but on my pc everything works properly. Volume always contains data, even after restart. How to solve this? Thanks.
My ...
0
votes
0
answers
19
views
Error with Docker Compose: FATAL: data directory "/var/lib/postgresql/data" has invalid permissions [duplicate]
When i try to run docker compose up -d i got this error:
FATAL: data directory "/var/lib/postgresql/data" has invalid
permissions
DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (...
1
vote
2
answers
46
views
Can not connect Postgres with Golang API and docker-compose
When I run docker-compose up postgres service start successful. However my Golang API can not connect to my postgres service. I tried manually without docker and it works. Golang Connection string ...