More variables for undocker

This commit is contained in:
Benoit S 2021-09-27 17:54:54 +09:00
parent 5101175a4d
commit e29a48913a
2 changed files with 4 additions and 2 deletions

View file

@ -58,11 +58,11 @@ mysql.database(
files.download(
name='Download undocker',
src=host.data.undocker_url,
dest='/usr/local/bin/undocker',
dest=host.data.undocker_bin,
user='root',
group='root',
mode='755',
sha256sum='b937e69e774c530c080c1f6685763ca7db4dc58520a5a2054d111e1504f47688',
sha256sum=host.data.undocker_sha256,
)
files.directory(

View file

@ -1,5 +1,7 @@
# Undocker
undocker_url='https://git.sr.ht/~motiejus/undocker/refs/download/v1.0.2/undocker-linux-amd64-v1.0.2'
undocker_sha256='b937e69e774c530c080c1f6685763ca7db4dc58520a5a2054d111e1504f47688'
undocker_bin='/usr/local/bin/undocker'
undocker_dst='/opt/photoprism'
undocker_cache='/var/cache/undocker'