s.d.r.c.Repositor圜onfigurationDelegate : Finished Spring Data repository scanning in 67 ms. s.d.r.c.Repositor圜onfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.Ĭgleron | 11:33:56.960 INFO 1. For example, "-e POSTGRES_PASSWORD=password" on "docker run".ĭb_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow allĭb_1 | connections without a password. secret=487f160861fd0bf4ac75ĭb_1 | Error: Database is uninitialized and superuser password is not specified.ĭb_1 | You must specify POSTGRES_PASSWORD to a non-empty value for theĭb_1 | superuser. SPRING_DATASOURCE_URL: jdbc:postgresql://db:5432/gleronĪpplication properties -class-name= Than I connected to the empty database that I create in psql-img container psql -h db -p5432 -U postgres -W glerondb **The failed attempt I'm talking about ** docker run -d -port 5432:5432 -name psql-img -e POSTGRES_PASSWORD=admin postgres:13 I tried to create a container based on the postgresql image, but intellij IDEA did not see the databases that I created in the container. It seems to me that the problem lies in the fact that I connected the database via localhost(). I have an error connecting postgresql and app with docker compose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |