Skip to content
Snippets Groups Projects
Commit 79366e31 authored by Alexander König's avatar Alexander König
Browse files

added a volume for postgres data

parent a4663036
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ services:
restart: always
environment:
POSTGRES_PASSWORD: mysecretpassword
volumes:
- pgdata:/var/lib/postgresql/data
nginx:
build:
context: .
......@@ -41,3 +43,5 @@ services:
restart: always
ports:
- "8080:8080"
volumes:
pgdata:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment