Skip to content

Commit 61145e2

Browse files
committed
Fix pgbackup docker user permissions
1 parent d71e96c commit 61145e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ services:
115115
pgbackups:
116116
image: prodrigestivill/postgres-backup-local
117117
restart: always
118-
user: postgres:postgres
118+
user: ${UID:-postgres}:${GID:-postgres}
119119
volumes:
120120
- ${DB_BACKUP_DIR:-./pgbackup}:/backups
121121
links:

0 commit comments

Comments
 (0)