infra-v1/applications/roles/home-apps/tasks/main.yml
2022-07-05 19:09:59 -04:00

72 lines
1.8 KiB
YAML

---
- name: Deploy Baby Buddy
community.docker.docker_container:
name: babybuddy
image: lscr.io/linuxserver/babybuddy:latest
restart_policy: unless-stopped
env:
- "TZ={{ TZ }}"
- "PUID={{ PUID }}"
- "PGID={{ PGID }}"
volumes:
- "{{ CONFIG_FOLDER }}/babybuddy/config:/config"
ports:
- 6212:8000
- name: Deploy Tandoor
community.docker.docker_compose:
definition: tandoor-compose.yml
recreate: always
- name: Deploy Heimdall
community.docker.docker_container:
name: heimdall
image: lscr.io/linuxserver/heimdall:latest
restart_policy: unless-stopped
env:
- "TZ={{ TZ }}"
- "PUID={{ PUID }}"
- "PGID={{ PGID }}"
volumes:
- "{{ CONFIG_FOLDER }}/heimdall/config:/config"
ports:
- 80:8500
- 443:8501
- name: Deploy Uptime Kuma
community.docker.docker_container:
name: uptime-kuma
image: louislam/uptime-kuma:1
restart_policy: always
volumes:
- "{{ CONFIG_FOLDER }}/uptime-kuma/config:/app/data"
ports:
- 3001:3001
- name: Deploy Nginx Proxy Manager
community.docker.docker_container:
name: nginx-proxy-manager
image: jc21/nginx-proxy-manager:latest
restart_policy: always
volumes:
- "{{ CONFIG_FOLDER }}/nginx-proxy-manager/config:/data"
- "{{ CONFIG_FOLDER }}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
ports:
- 8080:80
- 8081:81
- 4443:443
- name: Deploy Librespeed
community.docker.docker_container:
name: librespeed
image: ghcr.io/linuxserver/librespeed:latest
restart_policy: unless-stopped
env:
- "TZ={{ TZ }}"
- "PUID={{ PUID }}"
- "PGID={{ PGID }}"
volumes:
- "{{ CONFIG_FOLDER }}/librespeed/config:/config"
ports:
- 8505:80