diff --git a/infrastructure/openssh/docker-compose.openssh.yml b/infrastructure/openssh/docker-compose.openssh.yml index 6b74781..4aeecc9 100644 --- a/infrastructure/openssh/docker-compose.openssh.yml +++ b/infrastructure/openssh/docker-compose.openssh.yml @@ -11,8 +11,8 @@ services: env_file: - ./openssh/env/openssh.env environment: - - PUID=0 - - PGID=0 + - PUID=${PUID:-1000} + - PGID=${PGID:-1000} volumes: - openssh_config:/config - ./openssh/config/authorized_keys:/authorized_ssh_keys:ro @@ -25,7 +25,7 @@ services: networks: - infra-network security_opt: - - no-new-privileges:true + - no-new-privileges:false ports: - 2222:2222 volumes: