diff --git a/.gitignore b/.gitignore index 57b2eb0..987deec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ src/main/resources/application.conf +src/main/resources/postgres.conf target/ project/target/ diff --git a/README.md b/README.md index 7dd9403..2032dc5 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,12 @@ npm run dev - Docker - Shell script - Fly.io + + +## Docker +``` +docker pull postgres +docker run --name local-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres +docker stop local-postgres +docker start local-postgres +``` \ No newline at end of file diff --git a/src/main/resources/postgres.conf b/src/main/resources/postgres.conf deleted file mode 100644 index 5de116e..0000000 --- a/src/main/resources/postgres.conf +++ /dev/null @@ -1,3 +0,0 @@ -username = "postgres" -password = "mysecretpassword" -url = "jdbc:postgresql://localhost:5432/weather-tool" \ No newline at end of file