2026-04-28 15:00:58 -04:00
|
|
|
app:
|
|
|
|
|
id: archy-btcpay-db
|
|
|
|
|
name: BTCPay Postgres
|
2026-07-02 08:00:39 -04:00
|
|
|
version: "15.17"
|
2026-04-28 15:00:58 -04:00
|
|
|
description: Postgres backend for BTCPay and NBXplorer.
|
|
|
|
|
|
|
|
|
|
container:
|
2026-07-10 09:51:38 -04:00
|
|
|
image: 146.59.87.168:3000/lfg2025/postgres:15.17
|
2026-04-28 15:00:58 -04:00
|
|
|
pull_policy: if-not-present
|
|
|
|
|
network: archy-net
|
|
|
|
|
data_uid: "100998:100998"
|
|
|
|
|
secret_env:
|
|
|
|
|
- key: POSTGRES_PASSWORD
|
|
|
|
|
secret_file: btcpay-db-password
|
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
- storage: 20Gi
|
|
|
|
|
|
|
|
|
|
resources:
|
|
|
|
|
memory_limit: 1Gi
|
|
|
|
|
disk_limit: 20Gi
|
|
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
capabilities: [CHOWN, FOWNER, SETUID, SETGID, DAC_OVERRIDE]
|
|
|
|
|
readonly_root: false
|
|
|
|
|
network_policy: isolated
|
|
|
|
|
|
|
|
|
|
ports: []
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
- type: bind
|
|
|
|
|
source: /var/lib/archipelago/postgres-btcpay
|
|
|
|
|
target: /var/lib/postgresql/data
|
|
|
|
|
options: [rw]
|
|
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
- POSTGRES_DB=btcpay
|
|
|
|
|
- POSTGRES_USER=btcpay
|
|
|
|
|
|
|
|
|
|
health_check:
|
|
|
|
|
type: tcp
|
|
|
|
|
endpoint: localhost:5432
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
|
|
|
|
|
bitcoin_integration:
|
|
|
|
|
rpc_access: none
|
|
|
|
|
sync_required: false
|