Add readme about docker, remove postgres.conf from git
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
src/main/resources/application.conf
|
src/main/resources/application.conf
|
||||||
|
src/main/resources/postgres.conf
|
||||||
|
|
||||||
target/
|
target/
|
||||||
project/target/
|
project/target/
|
||||||
|
|||||||
@@ -36,3 +36,12 @@ npm run dev
|
|||||||
- Docker
|
- Docker
|
||||||
- Shell script
|
- Shell script
|
||||||
- Fly.io
|
- 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
|
||||||
|
```
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
username = "postgres"
|
|
||||||
password = "mysecretpassword"
|
|
||||||
url = "jdbc:postgresql://localhost:5432/weather-tool"
|
|
||||||
Reference in New Issue
Block a user