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: ...@@ -6,6 +6,8 @@ services:
image: portal:compose image: portal:compose
ports: ports:
- "8000:8000" - "8000:8000"
volumes:
- .:/usr/cloud/portal
networks: networks:
- backend - backend
depends_on: depends_on:
...@@ -18,6 +20,8 @@ services: ...@@ -18,6 +20,8 @@ services:
POSTGRES_PASSWORD: ${DATABASE_PASSWORD} POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_USER: ${DATABASE_USER} POSTGRES_USER: ${DATABASE_USER}
POSTGRES_DB: ${DATABASE_NAME} POSTGRES_DB: ${DATABASE_NAME}
volumes:
- postgres
networks: networks:
- backend - backend
...@@ -30,3 +34,6 @@ services: ...@@ -30,3 +34,6 @@ services:
networks: networks:
backend: 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