Fix OpenSSH perm issues

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-09-16 22:09:00 +02:00
parent fb8d683f9f
commit f25a6fdb32

View File

@ -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: