1234567891011121314151617181920212223242526272829303132 |
- version: '2.3'
- volumes:
- data:
- services:
- bitcoin-qt:
- build: .
- image: fphammerle/bitcoin-core-qt
- container_name: bitcoin_qt
- environment:
- DISPLAY: ':0'
- LIBGL_DEBUG: verbose
- volumes:
- - type: volume
- source: data
- target: /var/lib/bitcoin
- - type: bind
- # Xephyr -resizeable :8333
- source: /tmp/.X11-unix/X8333
- target: /tmp/.X11-unix/X0
- read_only: yes
- #ports:
- #- '8333:8333'
- cap_drop: [ALL]
- security_opt: [no-new-privileges]
- cpus: 0.5
- # > Memory cgroup out of memory: Killed process 81421 (bitcoind) total-vm:1379624kB, [...]
- mem_limit: 2g
- restart: on-failure
- # https://docs.docker.com/compose/compose-file/compose-file-v2/
|