20 lines
487 B
YAML
20 lines
487 B
YAML
- name: Create data folder
|
|
ansible.builtin.file:
|
|
path: /home/docker/dw-todo
|
|
state: directory
|
|
mode: '0777'
|
|
|
|
- name: Create dw-todo container
|
|
community.docker.docker_container:
|
|
name: dw-todo
|
|
image: dumbwareio/dumbdo:latest
|
|
pull: true
|
|
state: started
|
|
restart_policy: unless-stopped
|
|
ports:
|
|
- "{{ port }}:3000"
|
|
volumes:
|
|
- /home/docker/dw-todo:/app/data
|
|
env:
|
|
DUMBDO_SITE_TITLE="Javi's Daily TO-DO"
|
|
DUMBDO_PIN="{{ pin }}" |