infrastructure/docker-compose.openssh.yml
Bensuperpc 72973384fb
Fix dep caddy
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-18 09:04:35 +02:00

28 lines
494 B
YAML

version: '3.9'
services:
# Openssh
openssh:
image: linuxserver/openssh-server:latest
container_name: openssh
profiles:
- openssh
depends_on:
- caddy
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