Run container as non-root via PUID/PGID with a startup entrypoint banner and logs

This commit is contained in:
Djeex
2026-08-23 14:14:54 +02:00
parent d811faef45
commit cf96acda92
5 changed files with 116 additions and 4 deletions
+2
View File
@@ -5,6 +5,8 @@ services:
container_name: adguard-cidre
restart: unless-stopped
environment:
- PUID=1000 # user id the process runs as, matches ownership of the /adguard mount
- PGID=1000 # group id the process runs as
- TZ=Europe/Paris # change to your timezone
- BLOCK_COUNTRIES=cn,ru # choose countries listed IP to block. Full lists here https://github.com/vulnebify/cidre/tree/main/output/cidr/ipv4
- BLOCKLIST_CRON_TYPE=daily # daily or weekly