59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
mitra:
|
|
ports:
|
|
- 8383:8383
|
|
build:
|
|
context: .
|
|
environment:
|
|
CONFIG_PATH: /app/config.yaml
|
|
volumes:
|
|
- ./data:/app/data
|
|
depends_on:
|
|
database:
|
|
condition: service_healthy
|
|
|
|
database:
|
|
#ports:
|
|
#- 55432:5432
|
|
image: postgres:13-bullseye
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: mitra
|
|
POSTGRES_USER: mitra
|
|
POSTGRES_DB: mitra
|
|
volumes:
|
|
- ./postgres_database:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
# https://github.com/farcaster-project/containers
|
|
monerod:
|
|
profiles:
|
|
- monero
|
|
image: ghcr.io/farcaster-project/containers/monerod:0.18.2.2
|
|
environment:
|
|
NETWORK: regtest
|
|
OFFLINE: --offline
|
|
DIFFICULTY: 1
|
|
ports:
|
|
- "58081:18081"
|
|
monero-wallet-rpc:
|
|
profiles:
|
|
- monero
|
|
image: ghcr.io/farcaster-project/containers/monero-wallet-rpc:0.18.2.2
|
|
environment:
|
|
MONERO_DAEMON_ADDRESS: monerod:18081
|
|
WALLET_RPC_PORT: 18083
|
|
depends_on:
|
|
- "monerod"
|
|
ports:
|
|
- "58083:18083"
|
|
volumes:
|
|
- ./monero_wallets:/wallets
|
|
|