Skip to content
Snippets Groups Projects
Commit 99964984 authored by Raja Nandakumar's avatar Raja Nandakumar
Browse files

Added volume for db and removed local hyrax volume

parent 7b1954df
Branches
No related tags found
1 merge request!185Cleanup docker compose
Pipeline #7781 failed
......@@ -3,6 +3,7 @@ version: '3'
volumes:
solr:
db:
db-app:
db-fcrepo:
app:
mysql-db:
......@@ -66,6 +67,8 @@ services:
- .env
expose:
- 5432
volumes:
- db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -h localhost"]
interval: 30s
......@@ -87,7 +90,7 @@ services:
environment:
- POSTGRES_DB=${POSTGRES_DB_APP}
volumes:
- db:/var/lib/postgresql/data
- db-app:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "POSTGRES_PASSWORD=${POSTGRES_PASSWORD} pg_isready -U ${POSTGRES_USER} -h localhost -d ${POSTGRES_DB_APP}"]
interval: 30s
......@@ -135,7 +138,6 @@ services:
- derivatives:${DERIVATIVES_PATH}
- cache:${CACHE_PATH}
- ${HOST_APP_DATA_PATH:-/data/}:/data/data
- ./hyrax:/data:cached
networks:
internal:
aliases:
......@@ -156,7 +158,6 @@ services:
- derivatives:${DERIVATIVES_PATH}
- cache:${CACHE_PATH}
- ${HOST_APP_DATA_PATH:-/data/}:/data/data
- ./hyrax:/data:cached
redis:
image: redis:6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment