chore: temporarily remove fdisk-sync from docker-compose and Makefile

Build is blocked by Apple npm proxy stripping devDependencies inside
Docker. Removing the service keeps the rest of the stack functional.
The sync/ directory and migration remain in place for when the build
issue is resolved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthias Hochmeister
2026-03-01 14:07:28 +01:00
parent b54e400c48
commit b7adf238ed
2 changed files with 1 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: help dev prod stop logs logs-dev logs-prod rebuild rebuild-dev clean install test migrate sync-now sync-logs
.PHONY: help dev prod stop logs logs-dev logs-prod rebuild rebuild-dev clean install test migrate
# Default target
help:
@@ -15,10 +15,6 @@ help:
@echo " make logs-prod - Show production logs"
@echo " make rebuild - Rebuild production services"
@echo ""
@echo "FDISK Sync:"
@echo " make sync-now - Trigger an immediate sync (runs in existing container)"
@echo " make sync-logs - Follow sync container logs"
@echo ""
@echo "General:"
@echo " make stop - Stop all services"
@echo " make clean - Remove all containers and volumes"
@@ -83,16 +79,6 @@ logs:
rebuild:
docker compose -f docker-compose.yml up -d --build --force-recreate
# FDISK Sync
sync-now:
@echo "Triggering immediate FDISK sync..."
docker compose -f docker-compose.yml exec -T fdisk-sync kill -USR1 1 2>/dev/null || \
docker compose -f docker-compose.yml restart fdisk-sync
@echo "Sync triggered. Follow with: make sync-logs"
sync-logs:
docker compose -f docker-compose.yml logs -f fdisk-sync
# General commands
stop:
@echo "Stopping all services..."

View File

@@ -88,28 +88,6 @@ services:
start_period: 30s
restart: unless-stopped
fdisk-sync:
build:
context: ./sync
dockerfile: Dockerfile
container_name: feuerwehr_fdisk_sync
environment:
FDISK_USERNAME: ${FDISK_USERNAME:?FDISK_USERNAME is required}
FDISK_PASSWORD: ${FDISK_PASSWORD:?FDISK_PASSWORD is required}
FDISK_BASE_URL: ${FDISK_BASE_URL:-https://app.fdisk.at}
DB_HOST: postgres
DB_PORT: 5432
DB_NAME: ${POSTGRES_DB:-feuerwehr_prod}
DB_USER: ${POSTGRES_USER:-prod_user}
DB_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
TZ: Europe/Vienna
depends_on:
postgres:
condition: service_healthy
networks:
- dashboard-backend
restart: unless-stopped
volumes:
postgres_data_prod:
driver: local