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
9 changes: 8 additions & 1 deletion pmoves/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,15 @@ else
DATA_SERVICES += postgres postgrest
endif
endif

POSTGRES_SCALE_FLAGS :=
ifeq ($(EXTERNAL_SUPABASE),true)
ifneq ($(SUPA_PROVIDER),compose)
POSTGRES_SCALE_FLAGS := --scale postgres=0 --scale postgrest=0
endif
endif
up:
@docker compose -p $(PROJECT) --profile data --profile workers --profile agents up -d --scale postgres=0 --scale postgrest=0
@docker compose -p $(PROJECT) --profile data --profile workers --profile agents up -d $(strip $(POSTGRES_SCALE_FLAGS))


down:
Expand Down
4 changes: 3 additions & 1 deletion pmoves/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,9 @@ services:
networks: [pmoves]

publisher-discord:
build: ./services/publisher-discord
build:
context: .
dockerfile: ./services/publisher-discord/Dockerfile
restart: unless-stopped
env_file: [.env, .env.local]
environment:
Expand Down
4 changes: 2 additions & 2 deletions pmoves/services/agent-zero/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
tesseract-ocr \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./
COPY services/agent-zero/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt

# Copy vendored Agent Zero runtime assets
COPY runtime ${AGENT_ZERO_HOME}/runtime
COPY services/agent-zero/runtime ${AGENT_ZERO_HOME}/runtime

# Copy service implementation
COPY services /app/services
Expand Down
2 changes: 1 addition & 1 deletion pmoves/services/archon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ENV SUPABASE_URL=${SUPABASE_URL_DEFAULT} \
AGENT_FORMS_DIR=/app/configs/agents/forms \
ARCHON_UI_STATIC_DIR=/app/static/archon-ui

COPY requirements.txt ./
COPY services/archon/requirements.txt ./requirements.txt
RUN pip install --upgrade pip \
&& pip install -r requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion pmoves/services/publisher-discord/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.11-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
RUN pip install --no-cache-dir --upgrade pip
COPY requirements.txt ./
COPY services/publisher-discord/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY services /app/services
EXPOSE 8092
Expand Down
Loading