Skip to content
Open
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
24 changes: 20 additions & 4 deletions agyn/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,23 @@ services:
networks:
- agents_stack

docker-runner:
image: ghcr.io/agynio/docker-runner:0.12.0
restart: unless-stopped
environment:
DOCKER_RUNNER_SHARED_SECRET: ${DOCKER_RUNNER_SHARED_SECRET:-dev-shared-secret}
DOCKER_RUNNER_PORT: ${DOCKER_RUNNER_PORT:-7071}
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
networks:
- agents_stack

# Platform server (NestJS) — internal only, UI will proxy
platform-server:
user: root
image: ghcr.io/agynio/platform-server:0.11.0
image: ghcr.io/agynio/platform-server:0.12.0
restart: unless-stopped
environment:
AGENTS_DATABASE_URL: postgresql://agents:agents@platform-db:5432/agents
Expand All @@ -80,27 +93,30 @@ services:
GRAPH_BRANCH: v0.10.1
GRAPH_AUTHOR_NAME: Agyn Platform
GRAPH_AUTHOR_EMAIL: rowan.stein@agyn.io
DOCKER_SOCKET: /var/run/docker.sock
DOCKER_RUNNER_BASE_URL: http://docker-runner:7071
DOCKER_RUNNER_SHARED_SECRET: ${DOCKER_RUNNER_SHARED_SECRET:-dev-shared-secret}
DOCKER_RUNNER_TIMEOUT_MS: ${DOCKER_RUNNER_TIMEOUT_MS:-30000}
depends_on:
platform-db:
condition: service_healthy
litellm:
condition: service_started
vault:
condition: service_started
docker-runner:
condition: service_started
expose:
- "3010"
# Run DB migrations then start the server. Requires prisma CLI in the image (now included).
command: ["/bin/sh", "-lc", "set -e; prisma migrate deploy --schema /opt/app/packages/platform-server/prisma/schema.prisma; exec tsx src/index.ts"]
volumes:
- ..:/opt/app/data/bootstrap
- /var/run/docker.sock:/var/run/docker.sock
networks:
- agents_stack

# Platform UI reverse proxy — the only exposed service
platform-ui:
image: ghcr.io/agynio/platform-ui:0.11.0
image: ghcr.io/agynio/platform-ui:0.12.0
restart: unless-stopped
environment:
API_UPSTREAM: http://platform-server:3010
Expand Down