mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Remove openSSH
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
a141daff08
commit
0f7df1997f
4
Makefile
4
Makefile
@ -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
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user