micrach/docker-compose.yml
Yanislav Igonin db8a46cdf1
build: modernize Wave 1 baseline (#16)
* chore: add agents md

* docs: expand repository and setup guides

* docs: plan project modernization

* docs: add Wave 1 implementation plan

* test: characterize legacy behavior

* build: update Go and Fiber v2

* fix(gateway): preserve duplicate auth behavior

* refactor(db): migrate to pgx v5

* refactor: replace deprecated I/O APIs

* build: add local PostgreSQL compose

* build: add multi-stage image

* ci: replace legacy deployment workflow

* fix(deps): update vulnerable Go modules

* docs: document modern development workflow
2026-07-16 16:08:54 +09:00

21 lines
434 B
YAML

services:
db:
image: postgres:18.4-alpine3.23
environment:
POSTGRES_DB: micrach
POSTGRES_USER: micrach
POSTGRES_PASSWORD: micrach
ports:
- "5432:5432"
volumes:
- micrach-postgres:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U micrach -d micrach"]
interval: 2s
timeout: 5s
retries: 15
start_period: 5s
volumes:
micrach-postgres: