Skip to content

Commit

Permalink
fix: don't throw an error when explicitly setting a DOCKER_HOST with …
Browse files Browse the repository at this point in the history
…DOCKER_TRANSPORT=unix
  • Loading branch information
dangrie158 committed Apr 19, 2024
1 parent 0cc3bee commit 19a83be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CMD deno run \
# /var/run/dolce/ => lockfile directory
--allow-write="/var/run/dolce/,${DOCKER_HOST:-/var/run/docker.sock}" \
# for SmtpNotifier
--allow-net="discord.com,api.telegram.org,${SMTP_HOSTNAME:-localhost},${APPRISE_HOST:-localhost},${DOCKER_HOST:-localhost}" \
--allow-net="discord.com,api.telegram.org,${SMTP_HOSTNAME:-localhost},${APPRISE_HOST:-localhost}$( [ x${DOCKER_TRANSPORT:-unix} != 'xunix' ] && echo ,$DOCKER_HOST )" \
# for lib/env.ts, obviously
--allow-env \
# for Deno.kill in lib/lockfile.ts
Expand Down

0 comments on commit 19a83be

Please sign in to comment.