fix data mappeing

This commit is contained in:
Stefan Hardegger
2026-07-08 15:14:16 +02:00
parent 7e4e5a1385
commit fc26819a8f
2 changed files with 9 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
# StoryCove Environment Configuration # StoryCove Environment Configuration
# Copy this file to .env and configure for your environment # Copy this file to .env and configure for your environment
# Data Directory (host path for all persistent volumes)
DATA_DIR=/volume1/docker/storycove
# Application URLs and CORS Configuration # Application URLs and CORS Configuration
STORYCOVE_PUBLIC_URL=http://localhost:6925 STORYCOVE_PUBLIC_URL=http://localhost:6925
STORYCOVE_CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:6925 STORYCOVE_CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:6925

View File

@@ -8,7 +8,7 @@ services:
ports: ports:
- "6925:80" - "6925:80"
volumes: volumes:
- /volume1/docker/storycove/images:/app/images:ro - ${DATA_DIR:-/volume1/docker/storycove}/images:/app/images:ro
configs: configs:
- source: nginx_config - source: nginx_config
target: /etc/nginx/nginx.conf target: /etc/nginx/nginx.conf
@@ -42,9 +42,9 @@ services:
- APP_PASSWORD=${APP_PASSWORD} - APP_PASSWORD=${APP_PASSWORD}
- STORYCOVE_CORS_ALLOWED_ORIGINS=${STORYCOVE_CORS_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:6925} - STORYCOVE_CORS_ALLOWED_ORIGINS=${STORYCOVE_CORS_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:6925}
volumes: volumes:
- /volume1/docker/storycove/images:/app/images - ${DATA_DIR:-/volume1/docker/storycove}/images:/app/images
- /volume1/docker/storycove/config:/app/config - ${DATA_DIR:-/volume1/docker/storycove}/config:/app/config
- /volume1/docker/storycove/backups:/app/backups - ${DATA_DIR:-/volume1/docker/storycove}/backups:/app/backups
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
@@ -63,7 +63,7 @@ services:
- POSTGRES_USER=storycove - POSTGRES_USER=storycove
- POSTGRES_PASSWORD=${DB_PASSWORD} - POSTGRES_PASSWORD=${DB_PASSWORD}
volumes: volumes:
- /volume1/docker/storycove/postgres:/var/lib/postgresql/data - ${DATA_DIR:-/volume1/docker/storycove}/postgres:/var/lib/postgresql/data
networks: networks:
- storycove-network - storycove-network
healthcheck: healthcheck:
@@ -83,7 +83,7 @@ services:
- SOLR_HEAP=1024m - SOLR_HEAP=1024m
- SOLR_JAVA_MEM=-Xms512m -Xmx1024m - SOLR_JAVA_MEM=-Xms512m -Xmx1024m
volumes: volumes:
- /volume1/docker/storycove/solr:/var/solr - ${DATA_DIR:-/volume1/docker/storycove}/solr:/var/solr
deploy: deploy:
resources: resources:
limits: limits: