From 0f7df1997fcf6f02a6d2a0bf8c70172d8f9ce8e6 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sat, 18 May 2024 18:27:22 +0200 Subject: [PATCH] Remove openSSH Signed-off-by: Bensuperpc --- Makefile | 4 +--- README.md | 2 -- docker-compose.backup.yml | 4 +--- docker-compose.openssh.yml | 25 ------------------------- 4 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 docker-compose.openssh.yml diff --git a/Makefile b/Makefile index 2261cab..70afbdf 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,9 @@ 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)) -# syncthing openssh gitea gitea-runner uptime-kuma jellyfin watchtower - COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /') .PHONY: build all diff --git a/README.md b/README.md index 1be75e1..0a78853 100644 --- a/README.md +++ b/README.md @@ -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 | | [jellyfin.bensuperpc.org](https://jellyfin.bensuperpc.org) | Sub | Jellyfin for media server | | [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.fr | 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) | | Jellyfin | Jellyfin for media server | [jellyfin.bensuperpc.org](https://jellyfin.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. diff --git a/docker-compose.backup.yml b/docker-compose.backup.yml index 294ca20..5eeec4d 100644 --- a/docker-compose.backup.yml +++ b/docker-compose.backup.yml @@ -11,7 +11,7 @@ services: volumes: - backup:/mnt/restic - 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_config:/data/gitea_config:ro # - wordpress_db:/data/wordpress_db:ro @@ -22,8 +22,6 @@ services: # - qbittorrent_config:/data/qbittorrent_config:ro # - qbittorrent_data:/data/qbittorrent_data:ro # - uptimekuma_data:/data/uptimekuma_data:ro - networks: - - infra-network security_opt: - no-new-privileges:true diff --git a/docker-compose.openssh.yml b/docker-compose.openssh.yml deleted file mode 100644 index ce29dcb..0000000 --- a/docker-compose.openssh.yml +++ /dev/null @@ -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