-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Docker Compose for Postgres setup and update configs
Added a Docker Compose file for setting up a Postgres container easily. Updated `local_db.md` with a corrected `docker run` command and adjusted database configuration in `application-local.yaml` to match the new setup.
- Loading branch information
Showing
3 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
services: | ||
postgres: | ||
container_name: postgres | ||
image: postgres:latest | ||
environment: | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_HOST_AUTH_METHOD=trust | ||
ports: | ||
- "5432:5432" | ||
restart: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Til info, dette er ikke kompatibelt med importen som er beskrevet i local_db.md. Jeg tror heller ikke du ønsker at alle apper skal samles i databasen/skjemaet postgres ved kjøring lokalt.