2025-07-07 01:49:01 -04:00

20 lines
435 B
YAML

- name: Make mount folder
ansible.builtin.file:
dest: "/home/docker/reubah"
mode: '0777'
state: directory
- name: Put up reubah container
community.docker.docker_container:
name: reubah
image: 'ghcr.io/dendianugerah/reubah:latest'
pull: true
state: started
restart_policy: unless-stopped
env:
PORT=8081
volumes:
- '/home/docker/reubah:/tmp'
ports:
- '{{ port }}:8081'