lab-ansible/roles/apps/templates/compose-files/monerod.yml.j2

20 lines
427 B
Django/Jinja

# code: language=ansible-jinja
version: "3.8"
services:
node:
image: sethsimmons/simple-monerod:{{ apps_vars.monerod.version }}
restart: always
networks:
{{ apps_shared_docker_network }}:
aliases:
- monerod
ports:
- {{ ansible_hostname }}:18080:18080/tcp
volumes:
- "./data:/home/monero/.bitmonero:rw"
networks:
{{ apps_shared_docker_network }}:
external: true