services: codehub: build: context: . container_name: codehub restart: unless-stopped init: true ports: - "127.0.0.1:3000:3000" environment: NODE_ENV: production PORT: "3000" DATA_DIR: /app/data MAX_UPLOAD_MB: "${MAX_UPLOAD_MB:-50}" MAX_SOURCE_ARCHIVE_MB: "${MAX_SOURCE_ARCHIVE_MB:-50}" MAX_SOURCE_MB: "${MAX_SOURCE_MB:-200}" MAX_SOURCE_FILES: "${MAX_SOURCE_FILES:-5000}" INITIAL_COIN_BALANCE: "${INITIAL_COIN_BALANCE:-20}" MAX_COINS_PER_PROJECT: "${MAX_COINS_PER_PROJECT:-2}" volumes: - ./data:/app/data read_only: true tmpfs: - /tmp:size=64m,mode=1777 security_opt: - no-new-privileges:true cap_drop: - ALL