Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed
All services: admin-v2, studio-v2, website, ai-compliance-sdk, consent-service, klausur-service, voice-service, and infrastructure. Large PDFs and compiled binaries excluded via .gitignore.
33 lines
906 B
Docker
33 lines
906 B
Docker
# DSMS Node - Dezentrales Daten Speicher System
|
|
# Basiert auf IPFS für BreakPilot PWA
|
|
|
|
FROM ipfs/kubo:v0.24.0
|
|
|
|
LABEL maintainer="BreakPilot <dev@breakpilot.app>"
|
|
LABEL description="DSMS Node for BreakPilot - Decentralized Storage System"
|
|
|
|
# Environment variables
|
|
ENV IPFS_PATH=/data/ipfs
|
|
ENV IPFS_PROFILE=server
|
|
|
|
# Expose ports
|
|
# 4001 - Swarm (P2P)
|
|
# 5001 - API
|
|
# 8080 - Gateway
|
|
EXPOSE 4001
|
|
EXPOSE 5001
|
|
EXPOSE 8080
|
|
|
|
# Copy initialization script with correct permissions for ipfs user
|
|
USER root
|
|
COPY init-dsms.sh /container-init.d/001-init-dsms.sh
|
|
RUN chmod 755 /container-init.d/001-init-dsms.sh && chown 1000:users /container-init.d/001-init-dsms.sh
|
|
USER ipfs
|
|
|
|
# Health check - use ipfs id which works for standalone node
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
|
CMD ipfs id > /dev/null 2>&1 || exit 1
|
|
|
|
# Default command
|
|
CMD ["daemon", "--migrate=true", "--enable-gc"]
|