Added elasticsearch database migration fixes

This commit is contained in:
frikky
2021-05-23 12:00:40 +02:00
parent 4756d417b3
commit c073152db1
6 changed files with 57 additions and 16 deletions
+14 -6
View File
@@ -2,7 +2,7 @@ version: '3'
services:
frontend:
#build: ./frontend
image: ghcr.io/frikky/shuffle-frontend:0.8.90
image: ghcr.io/frikky/shuffle-frontend:0.8.91
container_name: shuffle-frontend
hostname: shuffle-frontend
ports:
@@ -16,8 +16,8 @@ services:
depends_on:
- backend
backend:
#build: ./backend
image: ghcr.io/frikky/shuffle-backend:0.8.90
build: ./backend
image: ghcr.io/frikky/shuffle-backend:0.8.91
container_name: shuffle-backend
hostname: ${BACKEND_HOSTNAME}
# Here for debugging:
@@ -94,13 +94,15 @@ services:
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
hard: 65536
volumes:
#- ${DB_LOCATION}/opensearch:/usr/share/opensearch/data
#- tmp/opensearch:/usr/share/opensearch/data
- ${DB_LOCATION}:/usr/share/opensearch/data
- ${DB_LOCATION}:/usr/share/opensearch/data:rw
ports:
- 9200:9200
networks:
- shuffle
#volumes:
# #- ${DB_LOCATION}/opensearch:/usr/share/opensearch/data
# #- tmp/opensearch:/usr/share/opensearch/data
# - ${DB_LOCATION}:/usr/share/opensearch/data
#database:
# #build: ./backend/database
# image: frikky/shuffle:database
@@ -119,3 +121,9 @@ services:
networks:
shuffle:
driver: bridge
#volumes:
# opensearch-data1:
# driver: local
# driver_opts:
# type: nfs
# device: ${DB_LOCATION}