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:
|
env_file:
|
||||||
- ./openssh/env/openssh.env
|
- ./openssh/env/openssh.env
|
||||||
environment:
|
environment:
|
||||||
- PUID=0
|
- PUID=${PUID:-1000}
|
||||||
- PGID=0
|
- PGID=${PGID:-1000}
|
||||||
volumes:
|
volumes:
|
||||||
- openssh_config:/config
|
- openssh_config:/config
|
||||||
- ./openssh/config/authorized_keys:/authorized_ssh_keys:ro
|
- ./openssh/config/authorized_keys:/authorized_ssh_keys:ro
|
||||||
@ -25,7 +25,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:false
|
||||||
ports:
|
ports:
|
||||||
- 2222:2222
|
- 2222:2222
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user