mirror of
https://github.com/mruwnik/memory.git
synced 2025-06-28 23:24:43 +02:00
proper build for frontend
This commit is contained in:
parent
a424c5f4d0
commit
80020e2a61
@ -141,6 +141,9 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/api/Dockerfile
|
dockerfile: docker/api/Dockerfile
|
||||||
|
args:
|
||||||
|
SERVER_URL: "${SERVER_URL:-http://localhost:8000}"
|
||||||
|
SESSION_COOKIE_NAME: "${SESSION_COOKIE_NAME:-session_id}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks: [kbnet]
|
networks: [kbnet]
|
||||||
depends_on: [postgres, rabbitmq, qdrant]
|
depends_on: [postgres, rabbitmq, qdrant]
|
||||||
@ -152,6 +155,7 @@ services:
|
|||||||
VITE_SERVER_URL: "${SERVER_URL:-http://localhost:8000}"
|
VITE_SERVER_URL: "${SERVER_URL:-http://localhost:8000}"
|
||||||
STATIC_DIR: "/app/static"
|
STATIC_DIR: "/app/static"
|
||||||
VOYAGE_API_KEY: ${VOYAGE_API_KEY}
|
VOYAGE_API_KEY: ${VOYAGE_API_KEY}
|
||||||
|
ENABLE_BM25_SEARCH: false
|
||||||
secrets: [postgres_password]
|
secrets: [postgres_password]
|
||||||
volumes:
|
volumes:
|
||||||
- ./memory_files:/app/memory_files:rw
|
- ./memory_files:/app/memory_files:rw
|
||||||
|
Loading…
x
Reference in New Issue
Block a user