services: bbp-labels: build: . image: bbp-labels:latest container_name: bbp-labels restart: unless-stopped env_file: .env environment: - BBP_DB_PATH=/data/labels.db - PORT=8090 - HOST=0.0.0.0 # Bound to loopback only — nginx terminates TLS and reverse-proxies to it. # Host port 8097 (8090 is used by another container); container stays 8090. ports: - "127.0.0.1:8097:8090" volumes: - bbp-labels-data:/data # Shared host — keep this service small. mem_limit: 256m cpus: 0.5 volumes: bbp-labels-data: