SPB Git

Repository Public

docker-compose.yml 2.4 KB 62 lines yaml

1# =============================================================================2#                  SP BOUCHER | SOFTWARE & RESEARCH3#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# Project          : SPIDER — Universal Web Intelligence Engine7# File             : infra/compose/docker-compose.yml8# Module           : Deployment9# Repository       : https://git.spboucher.ai/spider10# Project Website  : Not specified11# Created          : 2026-12-0412# Last Modified    : 2026-12-0413#14# Author           : Simon-Pierre Boucher15# Position         : Professor of Finance16# Institution      : Université du Québec en Outaouais (UQO)17# Organization     : SP Boucher18# Website          : https://spboucher.ai19# Git              : https://git.spboucher.ai20#21# Preferred Contact: contact@spboucher.ai22# Development      : dev@spboucher.ai23# Support          : support@spboucher.ai24# Security/Admin   : admin@spboucher.ai25#26# Copyright (c) 202627# Simon-Pierre Boucher28# All rights reserved where applicable. This file is governed by the29# applicable project license, copyright notices and relevant law.30# Existing third-party rights and notices remain unaffected.31#32# License          : ISC33#34# Do not embed credentials, private keys, access tokens,35# certificates or confidential personal information.36#37# =============================================================================38# END OF SP BOUCHER SOURCE HEADER39# =============================================================================4041# Local development services. The gateway and workers run natively (`spider serve`, `spider worker`):42# Apple Vision OCR and MLX cannot run in a Linux container.43#   docker compose -f infra/compose/docker-compose.yml up -d44#   then point SPIDER_DATABASE_URL at 127.0.0.1:54329, database and user `spider`,45#   with the development password set below (PGPASSWORD), and run `spider migrate`46services:47  postgres:48    image: postgres:1749    environment:50      POSTGRES_USER: spider51      POSTGRES_PASSWORD: spider-dev-only   # development only, bound to loopback52      POSTGRES_DB: spider53    ports: ["127.0.0.1:54329:5432"]54    volumes: ["spider-pg:/var/lib/postgresql/data"]55    healthcheck:56      test: ["CMD-SHELL", "pg_isready -U spider -d spider"]57      interval: 5s58      timeout: 3s59      retries: 1060volumes:61  spider-pg: {}62
Files main
Menu

Theme