fix: Fix Synapse permissions issues
This commit is contained in:
parent
752815f57b
commit
34351e9911
1 changed files with 3 additions and 0 deletions
|
@ -44,10 +44,13 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Manually set the UID and GID to 0 in the environment and in the user configuration to fix sops issues
|
||||
virtualisation.oci-containers.containers."synapse-synapse" = {
|
||||
image = "docker.io/matrixdotorg/synapse:latest";
|
||||
environment = {
|
||||
"SYNAPSE_CONFIG_PATH" = "/data/homeserver.yaml";
|
||||
"UID" = "0";
|
||||
"GID" = "0";
|
||||
};
|
||||
user = "0:0";
|
||||
volumes = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue