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: ...@@ -9,6 +9,8 @@ services:
restart: always restart: always
environment: environment:
POSTGRES_PASSWORD: mysecretpassword POSTGRES_PASSWORD: mysecretpassword
volumes:
- pgdata:/var/lib/postgresql/data
nginx: nginx:
build: build:
context: . context: .
...@@ -41,3 +43,5 @@ services: ...@@ -41,3 +43,5 @@ services:
restart: always restart: always
ports: ports:
- "8080:8080" - "8080:8080"
volumes:
pgdata:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment