infrastructure/docker-compose.openssh.yml

26 lines
464 B
YAML
Raw Normal View History

version: '3.9'
services:
# Openssh
openssh:
image: linuxserver/openssh-server:latest
container_name: openssh
profiles:
- openssh
restart: on-failure:5
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