mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-09 16:41:18 +01:00
Compare commits
No commits in common. "aee30a0aaffad4a8ea3e4ef30b15d705044db544" and "2eaaf1f9365581f8b8acbf18e75d8d65292d4d66" have entirely different histories.
aee30a0aaf
...
2eaaf1f936
2
Makefile
2
Makefile
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
DOCKER := docker
|
DOCKER := docker
|
||||||
|
|
||||||
PROFILES := webserver wordpress adminer uptime-kuma portainer qbittorrent gitea jellyfin watchtower backup openssh
|
PROFILES := webserver wordpress adminer uptime-kuma portainer qbittorrent gitea jellyfin watchtower backup
|
||||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||||
|
|
||||||
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
|
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
|
||||||
|
@ -56,10 +56,6 @@ jellyfin.bensuperpc.org {
|
|||||||
reverse_proxy jellyfin:8096
|
reverse_proxy jellyfin:8096
|
||||||
}
|
}
|
||||||
|
|
||||||
ssh.bensuperpc.org {
|
|
||||||
reverse_proxy openssh:2222
|
|
||||||
}
|
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
redir /rickroll https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
redir /rickroll https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
|
||||||
redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
redir /babyshark https://www.youtube.com/watch?v=XqZsoesa55w permanent
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
version: '3.9'
|
|
||||||
|
|
||||||
services:
|
|
||||||
# Adminer
|
|
||||||
adminer:
|
|
||||||
image: adminer:latest
|
|
||||||
container_name: adminer
|
|
||||||
profiles:
|
|
||||||
- adminer
|
|
||||||
restart: on-failure
|
|
||||||
env_file:
|
|
||||||
- env/adminer.env
|
|
||||||
depends_on:
|
|
||||||
- wordpress_db
|
|
||||||
- caddy
|
|
||||||
networks:
|
|
||||||
- infra-network
|
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true
|
|
@ -12,19 +12,9 @@ services:
|
|||||||
- env/backup.env
|
- env/backup.env
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- backup:/archive
|
|
||||||
- caddy_data:/backup/caddy_data:ro
|
- caddy_data:/backup/caddy_data:ro
|
||||||
- caddy_config:/backup/caddy_config:ro
|
- caddy_config:/backup/caddy_config:ro
|
||||||
# - gitea_data:/backup/gitea_data:ro
|
- backup:/archive
|
||||||
# - gitea_config:/backup/gitea_config:ro
|
|
||||||
# - database:/backup/database:ro
|
|
||||||
# - wordpress:/backup/wordpress:ro
|
|
||||||
# - jellyfin_config:/backup/jellyfin_config:ro
|
|
||||||
# - jellyfin_data:/backup/jellyfin_data:ro
|
|
||||||
# - jellyfin_cache:/backup/jellyfin_cache:ro
|
|
||||||
# - qbittorrent_config:/backup/qbittorrent_config:ro
|
|
||||||
# - qbittorrent_data:/backup/qbittorrent_data:ro
|
|
||||||
# - uptimekuma_data:/backup/uptimekuma_data:ro
|
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
version: '3.9'
|
|
||||||
|
|
||||||
services:
|
|
||||||
# Openssh
|
|
||||||
openssh:
|
|
||||||
image: linuxserver/openssh-server:latest
|
|
||||||
container_name: openssh
|
|
||||||
profiles:
|
|
||||||
- openssh
|
|
||||||
restart: on-failure
|
|
||||||
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
|
|
@ -41,6 +41,23 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
# Adminer
|
||||||
|
adminer:
|
||||||
|
image: adminer:latest
|
||||||
|
container_name: adminer
|
||||||
|
profiles:
|
||||||
|
- adminer
|
||||||
|
restart: on-failure
|
||||||
|
env_file:
|
||||||
|
- env/adminer.env
|
||||||
|
depends_on:
|
||||||
|
- wordpress_db
|
||||||
|
- caddy
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database:
|
database:
|
||||||
name: database
|
name: database
|
||||||
|
11
env/openssh.env
vendored
11
env/openssh.env
vendored
@ -1,11 +0,0 @@
|
|||||||
PUID=1000
|
|
||||||
PGID=1000
|
|
||||||
PUBLIC_KEY=
|
|
||||||
# PUBLIC_KEY_FILE=
|
|
||||||
# PUBLIC_KEY_DIR=
|
|
||||||
# PUBLIC_KEY_URL=
|
|
||||||
SUDO_ACCESS=false
|
|
||||||
PASSWORD_ACCESS=false
|
|
||||||
# USER_PASSWORD=
|
|
||||||
# USER_PASSWORD_FILE=
|
|
||||||
# USER_NAME=
|
|
Loading…
x
Reference in New Issue
Block a user