Skip to content

Commit 35c97e0

Browse files
authored
Merge pull request #99 from trjohnson19/trjohnson19/update-cf-ddns-to-use-lesser-permissions
Update `cf-ddns` to use lesser permissions
2 parents 177afdc + 9186435 commit 35c97e0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docker-compose-t2.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -961,12 +961,10 @@ services:
961961
cf-ddns:
962962
# <<: *common-keys-core # Must set network mode manually
963963
container_name: cf-ddns
964-
image: favonia/cloudflare-ddns:latest
964+
image: favonia/cloudflare-ddns:1
965965
network_mode: host # To make IPv6 easier
966966
restart: always
967-
cap_add:
968-
- SETUID # PUID
969-
- SETGID # PGID
967+
user: "${PUID}:${PGID}"
970968
cap_drop:
971969
- all
972970
read_only: true

0 commit comments

Comments
 (0)