63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
# Optionally choose a set ip range for docker IPs
|
|
# Be sure to uncomment/change the networks section in the services below too
|
|
#networks:
|
|
# monero:
|
|
# name: monero
|
|
# ipam:
|
|
# config:
|
|
# - subnet: "172.21.0.0/24"
|
|
# mail:
|
|
# name: mail
|
|
# ipam:
|
|
# config:
|
|
# - subnet: "172.20.0.0/24"
|
|
|
|
services:
|
|
|
|
monerod:
|
|
container_name: monerod
|
|
# Comment these lines to start a monerod node
|
|
# Warning: This will download the blockchain!
|
|
profiles:
|
|
- donotstart
|
|
# If you do, download and build monero here
|
|
build:
|
|
context: /usr/local/src/monero
|
|
volumes:
|
|
# Change /var/lib/monero to wherever you want to store the blockchain
|
|
- "/var/lib/monero:/home/monero/.bitmonero:rw"
|
|
# Leave this line to enable hugepages
|
|
- "/dev/hugepages:/dev/hugepages:rw"
|
|
# networks:
|
|
# monero:
|
|
# ipv4_address: 172.21.0.1
|
|
|
|
smtp:
|
|
container_name: smtp
|
|
# Uncomment this if you already have a dockerized smtp server
|
|
# profiles:
|
|
# - donotstart
|
|
# networks:
|
|
# monero:
|
|
# ipv4_address: 172.20.0.1
|
|
|
|
wallet:
|
|
container_name: pago_wallet
|
|
volumes:
|
|
# You can keep your wallet somewhere other than ./wallet
|
|
- ./wallet:/wallet
|
|
# networks:
|
|
# monero:
|
|
# ipv4_address: 172.21.0.2
|
|
|
|
processor:
|
|
container_name: pago_api
|
|
# networks:
|
|
# monero:
|
|
# ipv4_address: 172.21.0.10
|
|
# mail:
|
|
# ipv4_address: 172.20.0.2
|
|
# Uncomment these lines to listen on 0.0.0.0:8080
|
|
# ports:
|
|
# - "8080:80/tcp"
|