File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ COMPOSE_FILE := ./docker/docker-compose.yml
2+ ENV_FILE := ./docker/.env
3+ PROFILE ?= app-base
4+
5+ .PHONY : up down restart ps logs logs-app logs-redis
6+
7+ up :
8+ docker compose --env-file $(ENV_FILE ) -f $(COMPOSE_FILE ) --profile $(PROFILE ) up --build -d
9+
10+ down :
11+ docker compose --env-file $(ENV_FILE ) -f $(COMPOSE_FILE ) --profile $(PROFILE ) down
12+
13+ restart : down up
14+
15+ ps :
16+ docker compose --env-file $(ENV_FILE ) -f $(COMPOSE_FILE ) --profile $(PROFILE ) ps
17+
18+ logs :
19+ docker compose --env-file $(ENV_FILE ) -f $(COMPOSE_FILE ) --profile $(PROFILE ) logs -f
20+
21+ logs-app :
22+ docker compose --env-file $(ENV_FILE ) -f $(COMPOSE_FILE ) logs -f app-base app-graph app-ocr app-all
23+
24+ logs-redis :
25+ docker compose --env-file $(ENV_FILE ) -f $(COMPOSE_FILE ) logs -f redis
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ services:
5454 - ENABLE_PROFILER=${ENABLE_PROFILER}
5555 - ENABLE_GRAPHRAG_FALKOR=${ENABLE_GRAPHRAG_FALKOR}
5656 - FALKORDB_URI=${FALKORDB_URI}
57- - FALKORDB_MAX_CONNECTIONS=" {FALKORDB_MAX_CONNECTIONS}
57+ - FALKORDB_MAX_CONNECTIONS=$ {FALKORDB_MAX_CONNECTIONS}
5858 - FALKORDB_SOCKET_TIMEOUT=${FALKORDB_SOCKET_TIMEOUT}
5959 - FALKORDB_SOCKET_CONNECT_TIMEOUT=${FALKORDB_SOCKET_CONNECT_TIMEOUT}
6060 - FALKORDB_SOCKET_KEEPALIVE=${FALKORDB_SOCKET_KEEPALIVE}
You can’t perform that action at this time.
0 commit comments