- Update docker-compose.yml to use ghcr.io/wikid82/caddyproxymanagerplus:latest - Update docker-compose.dev.yml to use ghcr.io/wikid82/caddyproxymanagerplus:dev - Fix backend test database isolation (remove shared cache mode) - Add testConnection and enabledServers to useRemoteServers hook - Fix frontend test assertions to wait for async state updates - Wrap mutation assertions in waitFor for proper async handling Backend tests: ✅ ALL PASSING (22 tests) Frontend tests: ⚠️ 45/49 passing (4 useImport tests need mock refinement)
22 lines
640 B
YAML
22 lines
640 B
YAML
version: '3.9'
|
|
|
|
# Development override - use with: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
|
|
|
|
services:
|
|
app:
|
|
image: ghcr.io/wikid82/caddyproxymanagerplus:dev
|
|
# Development: expose Caddy admin API externally for debugging
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
- "8080:8080"
|
|
- "2019:2019" # Caddy admin API (dev only)
|
|
environment:
|
|
- CPM_ENV=development
|
|
- CPM_HTTP_PORT=8080
|
|
- CPM_DB_PATH=/app/data/cpm.db
|
|
- CPM_FRONTEND_DIR=/app/frontend/dist
|
|
- CPM_CADDY_ADMIN_API=http://localhost:2019
|
|
- CPM_CADDY_CONFIG_DIR=/app/data/caddy
|