Host Team OSDeploy options

Railway

Deploy Team OS with Railway.

For Railway, use two services in one project.

Create the database service

  1. Add a Docker image service.
  2. Use pgvector/pgvector:pg16.
  3. Set POSTGRES_USER, POSTGRES_PASSWORD, and POSTGRES_DB.
  4. Attach a persistent volume at /var/lib/postgresql/data.

Create the API service

  1. Add a Docker image service.
  2. Use ghcr.io/simonc602/team-os-server:beta.
  3. Do not override the image start command.
  4. Attach a persistent volume at /data/agentic-os and set AGENTIC_OS_DIR=/data/agentic-os.
  5. Set the health check path to /v1/health.
  6. Set the API environment variables.

For Railway private networking, the database URL usually uses a private host and PGSSLMODE=disable.

Next: Startup and first owner

On this page