-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
37 lines (33 loc) · 1.01 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
37 lines (33 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# docker-compose.dev.yml
# Overlay for the dev stack running on the same Pi as production.
#
# Port mapping (dev vs prod):
# API: 8001 (prod: 8000)
# MCP: 5002 (prod: 5001)
# Postgres: not exposed on host (internal only; prod exposes 5432)
#
# Data:
# ~/.tether-config-dev (prod: ~/.tether-config)
# pgdata-dev volume (prod: pgdata)
#
# Usage via CI (see docs/DEV.md for full setup):
# COMPOSE_PROJECT_NAME=tether-dev \
# TETHER_IMAGE=tether-premium-dev IMAGE_TAG=<tag> \
# TETHER_DATA_DIR=~/.tether-config-dev \
# docker compose -f docker-compose.yml -f docker-compose.dev.yml \
# -p tether-dev up -d
services:
postgres:
# Don't expose postgres on the host — dev postgres is internal only.
# Production exposes 5432 for tooling access; dev avoids the port conflict.
ports: !reset []
volumes: !reset
- pgdata-dev:/var/lib/postgresql/data
api:
ports: !override
- "8001:8000"
mcp:
ports: !override
- "5002:5001"
volumes:
pgdata-dev: