Remove openSSH

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-05-18 18:27:22 +02:00
parent a141daff08
commit 0f7df1997f
No known key found for this signature in database
GPG Key ID: 15D0B1525584D383
4 changed files with 2 additions and 33 deletions

View File

@ -13,11 +13,9 @@
DOCKER := docker DOCKER := docker
PROFILES := caddy wordpress adminer backup qbittorrent PROFILES := caddy wordpress adminer backup qbittorrent syncthing gitea gitea-runner uptime-kuma jellyfin watchtower
PROFILE_CMD := $(addprefix --profile ,$(PROFILES)) PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
# syncthing openssh gitea gitea-runner uptime-kuma jellyfin watchtower
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /') COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
.PHONY: build all .PHONY: build all

View File

@ -71,7 +71,6 @@ And then, caddy will generate the certificate for you and renew it automatically
| [link.bensuperpc.org](https://link.bensuperpc.org) | Sub | For link shortener | | [link.bensuperpc.org](https://link.bensuperpc.org) | Sub | For link shortener |
| [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | Sub | Jellyfin for media server | | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | Sub | Jellyfin for media server |
| [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | Sub | SyncThing for file synchronization | | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | Sub | SyncThing for file synchronization |
| [ssh.bensuperpc.org](https://ssh.bensuperpc.org) | Sub | Openssh for ssh |
| bensuperpc.com | Main | Redirect to bensuperpc.org | | bensuperpc.com | Main | Redirect to bensuperpc.org |
| bensuperpc.fr | Main | Redirect to bensuperpc.org | | bensuperpc.fr | Main | Redirect to bensuperpc.org |
| bensuperpc.net | Main | Redirect to bensuperpc.org | | bensuperpc.net | Main | Redirect to bensuperpc.org |
@ -166,7 +165,6 @@ You can find all services on the [docker-compose.yml](docker-compose.yml) file o
| Gitea | Gitea for git | [git.bensuperpc.org](https://git.bensuperpc.org) | | Gitea | Gitea for git | [git.bensuperpc.org](https://git.bensuperpc.org) |
| Jellyfin | Jellyfin for media server | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | | Jellyfin | Jellyfin for media server | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) |
| SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | | SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) |
| Openssh | Openssh for ssh | [ssh.bensuperpc.org](https://ssh.bensuperpc.org) |
You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file. You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file.

View File

@ -11,7 +11,7 @@ services:
volumes: volumes:
- backup:/mnt/restic - backup:/mnt/restic
- caddy_data:/data/caddy_data:ro - caddy_data:/data/caddy_data:ro
# - caddy_config:/data/caddy_config:ro - caddy_config:/data/caddy_config:ro
# - gitea_data:/data/gitea_data:ro # - gitea_data:/data/gitea_data:ro
# - gitea_config:/data/gitea_config:ro # - gitea_config:/data/gitea_config:ro
# - wordpress_db:/data/wordpress_db:ro # - wordpress_db:/data/wordpress_db:ro
@ -22,8 +22,6 @@ services:
# - qbittorrent_config:/data/qbittorrent_config:ro # - qbittorrent_config:/data/qbittorrent_config:ro
# - qbittorrent_data:/data/qbittorrent_data:ro # - qbittorrent_data:/data/qbittorrent_data:ro
# - uptimekuma_data:/data/uptimekuma_data:ro # - uptimekuma_data:/data/uptimekuma_data:ro
networks:
- infra-network
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true

View File

@ -1,25 +0,0 @@
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