infra-v1/applications/roles/home-apps/tasks/main.yml

58 lines
1.4 KiB
YAML
Raw Normal View History

2022-06-12 16:14:10 +00:00
---
- 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