File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
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
You can’t perform that action at this time.
0 commit comments