- Add .gitea/workflows for building and pushing api, dashboard, and worker images to git.zias.be registry - Add docker-compose.prod.yml using pre-built registry images (no build-from-source on server) - Update docker-compose.yml infra images to latest (postgres 18.3, redis 8.6.2, clickhouse 26.3.2.3) - Update self-hosting/docker-compose.template.yml image versions to match - Bump Node.js to 22.22.2 in all three Dockerfiles - Update pnpm to 10.33.0 and upgrade all safe npm dependencies - Add buffer-equal-constant-time patch Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
op-db:
|
|
image: postgres:18.3-alpine
|
|
restart: always
|
|
volumes:
|
|
- ./docker/data/op-db-data:/var/lib/postgresql/data
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
|
|
op-kv:
|
|
image: redis:8.6.2-alpine
|
|
restart: always
|
|
volumes:
|
|
- ./docker/data/op-kv-data:/data
|
|
command: ["redis-server", "--maxmemory-policy", "noeviction"]
|
|
ports:
|
|
- 6379:6379
|
|
|
|
op-ch:
|
|
image: clickhouse/clickhouse-server:26.3.2.3
|
|
restart: always
|
|
volumes:
|
|
- ./docker/data/op-ch-data:/var/lib/clickhouse
|
|
- ./docker/data/op-ch-logs:/var/log/clickhouse-server
|
|
- ./docker/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/op-config.xml
|
|
- ./docker/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/op-user-config.xml
|
|
- ./docker/clickhouse/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh:ro
|
|
ulimits:
|
|
nofile:
|
|
soft: 262144
|
|
hard: 262144
|
|
ports:
|
|
- "8123:8123" # HTTP interface
|
|
- "9000:9000" # Native/TCP interface
|
|
- "9009:9009" # Inter-server communication
|