mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-07-25 11:52:23 +02:00
Fix OpenSSH perm issues
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user