fix: declare persistent backend volumes external
This commit is contained in:
1 parent
78d06d0ba0
commit
7eb0e5186d
5 files changed
+17
-2
No files matched your search
@@ -33,6 +33,8 @@ BACKEND_BIND_ADDRESS=127.0.0.1
|
||||
BACKEND_HOST_PORT=3001
|
||||
BACKEND_MEMORY_LIMIT=4g
|
||||
BACKEND_CPU_LIMIT=2.0
|
||||
BACKEND_UPLOADS_VOLUME_NAME=ai-soulmate-backend-uploads
|
||||
BACKEND_LOGS_VOLUME_NAME=ai-soulmate-backend-logs
|
||||
|
||||
APP_ENV=production
|
||||
SECRET_KEY=replace-with-a-random-value
|
||||
|
||||
@@ -64,9 +64,11 @@ services:
|
||||
|
||||
volumes:
|
||||
backend_uploads:
|
||||
name: ai-soulmate-backend-uploads
|
||||
name: ${BACKEND_UPLOADS_VOLUME_NAME:-ai-soulmate-backend-uploads}
|
||||
external: true
|
||||
backend_logs:
|
||||
name: ai-soulmate-backend-logs
|
||||
name: ${BACKEND_LOGS_VOLUME_NAME:-ai-soulmate-backend-logs}
|
||||
external: true
|
||||
|
||||
networks:
|
||||
internal:
|
||||
|
||||
Reference in new issue
Block a user