infrastructure/docker-compose.openssh.yml
Bensuperpc aee30a0aaf
Add openssh service
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-06 00:37:17 +02:00

26 lines
462 B
YAML

version: '3.9'
services:
# Openssh
openssh:
image: linuxserver/openssh-server:latest
container_name: openssh
profiles:
- openssh
restart: on-failure
env_file:
- env/openssh.env
volumes:
- openssh_config:/config
- openssh_data:/data
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
openssh_config:
name: openssh_config
openssh_data:
name: openssh_data