59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
app:
|
|
id: fedimint
|
|
name: Fedimint
|
|
version: 0.3.0
|
|
description: Federated Bitcoin minting service. Privacy-preserving Bitcoin custody.
|
|
|
|
container:
|
|
image: fedimint/fedimint:0.3.0
|
|
image_signature: cosign://...
|
|
pull_policy: if-not-present
|
|
|
|
dependencies:
|
|
- app_id: bitcoin-core
|
|
version: ">=24.0"
|
|
- storage: 20Gi
|
|
|
|
resources:
|
|
cpu_limit: 4
|
|
memory_limit: 4Gi
|
|
disk_limit: 20Gi
|
|
|
|
security:
|
|
capabilities: []
|
|
readonly_root: true
|
|
network_policy: isolated
|
|
apparmor_profile: fedimint
|
|
|
|
ports:
|
|
- host: 8173
|
|
container: 8173
|
|
protocol: tcp # API
|
|
- host: 8174
|
|
container: 8174
|
|
protocol: tcp # Web UI
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/fedimint
|
|
target: /fedimint
|
|
options: [rw]
|
|
|
|
environment:
|
|
- FM_BITCOIND_RPC=http://bitcoin-core:8332
|
|
- FM_BITCOIND_RPC_USER=${BITCOIN_RPC_USER}
|
|
- FM_BITCOIND_RPC_PASS=${BITCOIN_RPC_PASSWORD}
|
|
- FM_NETWORK=mainnet
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:8174
|
|
path: /health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
bitcoin_integration:
|
|
rpc_access: admin
|
|
sync_required: true
|