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

22 lines
462 B
Django/Jinja

# THIS FILE IS MANAGED BY ANSIBLE
# 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