Skip to content

Commit

Permalink
✨ (role): Added Duplicati role
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Apr 30, 2024
1 parent 3b87370 commit c465c7a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions roles/duplicati/files/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.8'

services:
duplicati:
container_name: duplicati
image: lscr.io/linuxserver/duplicati:latest
restart: unless-stopped
volumes:
- "./config:/config"
- "./backups:/backups"
- "/:/source"
environment:
- PUID=0
- PGID=0
- TZ=Etc/UTC
7 changes: 7 additions & 0 deletions roles/duplicati/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- name: Include service role
ansible.builtin.include_role:
name: "service"
vars:
service_name: "duplicati"
service_docker_compose: true
service_systemd_service: true

0 comments on commit c465c7a

Please sign in to comment.