Use custom restic image
This commit is contained in:
parent
0e8fd7a231
commit
748cbed50d
3 changed files with 10 additions and 1 deletions
2
roles/backups/docker/Dockerfile
Normal file
2
roles/backups/docker/Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
FROM restic/restic:0.17.3
|
||||||
|
RUN apk add postgresql16-client
|
7
roles/backups/docker/README.md
Normal file
7
roles/backups/docker/README.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Restic
|
||||||
|
|
||||||
|
Image name: git.comfycamp.space/lumin/restic
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Postgresql client
|
|
@ -26,7 +26,7 @@
|
||||||
become: true
|
become: true
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: restic-1
|
name: restic-1
|
||||||
image: restic/restic:0.17.3
|
image: git.comfycamp.space/lumin/restic:0.17.3
|
||||||
hostname: restic-1
|
hostname: restic-1
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: "{{ s3_access_key_id }}"
|
AWS_ACCESS_KEY_ID: "{{ s3_access_key_id }}"
|
||||||
|
|
Loading…
Reference in a new issue