homelab/roles/phoenix/tasks/main.yml

16 lines
357 B
YAML
Raw Normal View History

2024-11-08 11:42:07 +05:00
---
- name: Create phoenix volume
become: true
community.docker.docker_volume:
name: phoenix
- name: Run phoenix
become: true
community.docker.docker_container:
name: phoenix-1
2024-11-22 13:51:46 +05:00
image: ghcr.io/ordinary-dev/phoenix:v2.0.0
2024-11-08 11:42:07 +05:00
volumes:
- phoenix:/var/lib/phoenix
networks:
- name: haproxy
restart_policy: unless-stopped