mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 00:34:26 +01:00
Fix OpenSSH perm issues
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
fb8d683f9f
commit
f25a6fdb32
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user