Commit 34b1ad89 by Chif Gergő

Merge branch 'add-volume' into 'DEV'

Add local and db volume

See merge request !27
parents 536bf1ff b9c45745
Pipeline #1328 passed with stages
in 2 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