Skip to content

Commit

Permalink
fix: set permissions for custom DOLCE_RUN_DIRECTORY
Browse files Browse the repository at this point in the history
  • Loading branch information
dangrie158 committed Sep 20, 2024
1 parent 763dd33 commit 329a85e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ CMD deno run \
--unstable-cron \
# flag is needed for unstable Temporal
--unstable-temporal
# /var/run/dolce/ => lockfile directory
--allow-read="./templates,/var/run/dolce/,${DOCKER_HOST:-/var/run/docker.sock},${DOLCE_CUSTOM_TEMPLATE_PATH}" \
# /var/run/dolce/ => lockfile directory
--allow-write="/var/run/dolce/,${DOCKER_HOST:-/var/run/docker.sock}" \
--allow-read="./templates,${DOLCE_RUN_DIRECTORY:-/var/run/dolce/},${DOCKER_HOST:-/var/run/docker.sock},${DOLCE_CUSTOM_TEMPLATE_PATH}" \
--allow-write="${DOLCE_RUN_DIRECTORY:-/var/run/dolce/},${DOCKER_HOST:-/var/run/docker.sock}" \
# for SmtpNotifier
--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
Expand Down

0 comments on commit 329a85e

Please sign in to comment.