fix data mappeing
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# StoryCove Environment Configuration
|
||||
# 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
|
||||
STORYCOVE_PUBLIC_URL=http://localhost:6925
|
||||
STORYCOVE_CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:6925
|
||||
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
ports:
|
||||
- "6925:80"
|
||||
volumes:
|
||||
- /volume1/docker/storycove/images:/app/images:ro
|
||||
- ${DATA_DIR:-/volume1/docker/storycove}/images:/app/images:ro
|
||||
configs:
|
||||
- source: nginx_config
|
||||
target: /etc/nginx/nginx.conf
|
||||
@@ -42,9 +42,9 @@ services:
|
||||
- APP_PASSWORD=${APP_PASSWORD}
|
||||
- STORYCOVE_CORS_ALLOWED_ORIGINS=${STORYCOVE_CORS_ALLOWED_ORIGINS:-http://localhost:3000,http://localhost:6925}
|
||||
volumes:
|
||||
- /volume1/docker/storycove/images:/app/images
|
||||
- /volume1/docker/storycove/config:/app/config
|
||||
- /volume1/docker/storycove/backups:/app/backups
|
||||
- ${DATA_DIR:-/volume1/docker/storycove}/images:/app/images
|
||||
- ${DATA_DIR:-/volume1/docker/storycove}/config:/app/config
|
||||
- ${DATA_DIR:-/volume1/docker/storycove}/backups:/app/backups
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -63,7 +63,7 @@ services:
|
||||
- POSTGRES_USER=storycove
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
volumes:
|
||||
- /volume1/docker/storycove/postgres:/var/lib/postgresql/data
|
||||
- ${DATA_DIR:-/volume1/docker/storycove}/postgres:/var/lib/postgresql/data
|
||||
networks:
|
||||
- storycove-network
|
||||
healthcheck:
|
||||
@@ -83,7 +83,7 @@ services:
|
||||
- SOLR_HEAP=1024m
|
||||
- SOLR_JAVA_MEM=-Xms512m -Xmx1024m
|
||||
volumes:
|
||||
- /volume1/docker/storycove/solr:/var/solr
|
||||
- ${DATA_DIR:-/volume1/docker/storycove}/solr:/var/solr
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user