homelab/roles/phoenix/tasks/main.yml

15 lines
357 B
YAML

---
- name: Create phoenix volume
become: true
community.docker.docker_volume:
name: phoenix
- name: Run phoenix
become: true
community.docker.docker_container:
name: phoenix-1
image: ghcr.io/ordinary-dev/phoenix:v2.0.0
volumes:
- phoenix:/var/lib/phoenix
networks:
- name: haproxy
restart_policy: unless-stopped