fedimovies/docker-compose.yaml
2022-12-12 22:54:48 +00:00

43 lines
924 B
YAML

version: "3"
services:
database:
image: postgres:latest
restart: always
environment:
POSTGRES_PASSWORD: mitra
POSTGRES_USER: mitra
POSTGRES_DB: mitra
ports:
- "55432:5432"
volumes:
- mitra_postgres:/var/lib/postgresql/data
# https://github.com/farcaster-project/containers
monerod:
profiles:
- monero
image: ghcr.io/farcaster-project/containers/monerod:0.18.1.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.1.2
environment:
MONERO_DAEMON_ADDRESS: monerod:18081
WALLET_RPC_PORT: 18083
depends_on:
- "monerod"
ports:
- "58083:18083"
volumes:
- monero_wallets:/wallets
volumes:
mitra_postgres:
monero_wallets: