Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV_FILE := config/.env
LOAD_ENV := doppler run --
LLM_URL := http://127.0.0.1:11434

.PHONY: all build run dev test format tidy download clean docker-build docker-run \
.PHONY: all build run dev test format tidy download clean docker-build docker-run docker-up docker-down \
migrate-new migrate-up migrate-down migrate-status migrate-reset db-start db-stop db-reset swagger swagger-fmt docker-build docker-run llm-start genkit-run seed cli

all: build
Expand Down Expand Up @@ -83,6 +83,12 @@ docker-run:
--name $(APP_NAME)-container \
$(DOCKER_IMAGE_NAME)

docker-up:
docker compose up --build

docker-down:
docker compose down

# =============================================================================
# Supabase Migrations
# =============================================================================
Expand Down
20 changes: 20 additions & 0 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
services:
api:
build: .
ports:
- "${PORT:-8080}:8080"
env_file:
- config/.env
depends_on:
- opensearch
restart: unless-stopped

opensearch:
image: opensearchproject/opensearch:latest
environment:
- discovery.type=single-node
- DISABLE_SECURITY_PLUGIN=true
ports:
- "9200:9200"
- "9600:9600"
restart: unless-stopped
Loading