20 lines
485 B
YAML
20 lines
485 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
bitcoin:
|
|
build: .
|
|
cap_add:
|
|
- IPC_LOCK # lock memory to prevent sensitive values from being swapped to disk.
|
|
environment:
|
|
- DISPLAY=unix$DISPLAY
|
|
- USER_ID=1000
|
|
init: true
|
|
network_mode: bridge
|
|
shm_size: 4G
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /tmp/.X11-unix:/tmp/.X11-unix:ro
|
|
# Make .config/Dogecoin/Dogecoin-Qt.conf persistent
|
|
- ./data:/home/user
|
|
- /WD4Gpool/bitcoin:/data
|