Commit b9c45745 by Belákovics Ádám

Add local and db volume

parent 8ac6e4d4
Pipeline #1322 passed with stages
in 3 minutes 48 seconds
......@@ -6,6 +6,8 @@ services:
image: portal:compose
ports:
- "8000:8000"
volumes:
- .:/usr/cloud/portal
networks:
- backend
depends_on:
......@@ -18,6 +20,8 @@ services:
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_DB: ${DATABASE_NAME}
volumes:
- postgres
networks:
- backend
......@@ -30,3 +34,6 @@ services:
networks:
backend:
volumes:
postgres:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment