diff --git a/content/blog/dockerized-onion-service.md b/content/blog/dockerized-onion-service.md index 6f935bd..a8b124a 100644 --- a/content/blog/dockerized-onion-service.md +++ b/content/blog/dockerized-onion-service.md @@ -28,7 +28,7 @@ services: tor: image: alpine:latest container_name: tor - command: sh -c "apk update && apk add --no-cache tor && chmod 700 /var/lib/tor/onion-service && (cat /var/lib/tor/onion-service/hostname || echo 'Hostname not available.') && tor -f /etc/tor/torrc" + command: sh -c "apk update && apk add --no-cache tor && chmod 700 /var/lib/tor/onion-service && chown -R root:root /var/lib/tor && (cat /var/lib/tor/onion-service/hostname || echo 'Hostname not available.') && tor -f /etc/tor/torrc" volumes: - ./tor:/etc/tor:rw - ./onion-mirror:/var/lib/tor/onion-service:rw