You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
736 B
YAML
27 lines
736 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: postgres:9.6.15-alpine
|
|
ports:
|
|
- 127.0.0.1:5432:5432
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASS}
|
|
POSTGRES_USER: ${DB_USER:-xmrbackers}
|
|
POSTGRES_DB: ${DB_NAME:-xmrbackers}
|
|
volumes:
|
|
- ${DATA_DIR:-./data/postgresql}:/var/lib/postgresql/data
|
|
cache:
|
|
image: redis:latest
|
|
ports:
|
|
- 127.0.0.1:6379:6379
|
|
wallet:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-monero
|
|
ports:
|
|
- 127.0.0.1:${XMR_WALLET_RPC_PORT:-8000}:${XMR_WALLET_RPC_PORT:-8000}
|
|
volumes:
|
|
- ${DATA_DIR:-./data/wallet}:/data
|
|
command:
|
|
bash /run_wallet.sh "${XMR_WALLET_NETWORK}" "${XMR_WALLET_RPC_USER}:${XMR_WALLET_RPC_PASS}" "${XMR_DAEMON_URI}"
|