mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-06 23:44:26 +01:00
Compare commits
2 Commits
1f96c00bfc
...
fe327d654a
Author | SHA1 | Date | |
---|---|---|---|
fe327d654a | |||
c33e11e455 |
4
Makefile
4
Makefile
@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
DOCKER := docker
|
DOCKER := docker
|
||||||
|
|
||||||
PROFILES := caddy wordpress adminer ghost syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage watchtower
|
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage
|
||||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||||
|
|
||||||
# gitea-runner transmission
|
# gitea-runner transmission dozzle watchtower
|
||||||
|
|
||||||
COMPOSE_FILES := $(shell find . -name 'docker-compose*.yml' -type f | sed -e 's/^/--file /')
|
COMPOSE_FILES := $(shell find . -name 'docker-compose*.yml' -type f | sed -e 's/^/--file /')
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ www.bensuperpc.org {
|
|||||||
X-Content-Type-Options nosniff
|
X-Content-Type-Options nosniff
|
||||||
|
|
||||||
# clickjacking protection
|
# clickjacking protection
|
||||||
X-Frame-Options DENY
|
# X-Frame-Options DENY
|
||||||
|
|
||||||
# Disable powerful features we don't need
|
# Disable powerful features we don't need
|
||||||
Permissions-Policy "geolocation=(), camera=(), microphone=() interest-cohort=()"
|
Permissions-Policy "geolocation=(), camera=(), microphone=() interest-cohort=()"
|
||||||
@ -105,8 +105,8 @@ homepage.bensuperpc.org {
|
|||||||
reverse_proxy homepage:3000
|
reverse_proxy homepage:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
ghost.bensuperpc.org {
|
dozzle.bensuperpc.org {
|
||||||
reverse_proxy ghost:2368
|
reverse_proxy dozzle:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
|
18
infrastructure/dozzle/docker-compose.dozzle.yml
Normal file
18
infrastructure/dozzle/docker-compose.dozzle.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
services:
|
||||||
|
# dozzle
|
||||||
|
dozzle:
|
||||||
|
image: amir20/dozzle:latest
|
||||||
|
container_name: dozzle
|
||||||
|
profiles:
|
||||||
|
- dozzle
|
||||||
|
restart: on-failure:5
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
|
env_file:
|
||||||
|
- ./dozzle/env/dozzle.env
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
1
infrastructure/dozzle/env/dozzle.env
vendored
Normal file
1
infrastructure/dozzle/env/dozzle.env
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DOZZLE_LEVEL=info
|
@ -1,45 +0,0 @@
|
|||||||
services:
|
|
||||||
# ghost
|
|
||||||
ghost:
|
|
||||||
image: ghost:latest
|
|
||||||
container_name: ghost
|
|
||||||
profiles:
|
|
||||||
- ghost
|
|
||||||
restart: on-failure:5
|
|
||||||
depends_on:
|
|
||||||
- ghost_db
|
|
||||||
- caddy
|
|
||||||
env_file:
|
|
||||||
- ./ghost/env/ghost.env
|
|
||||||
volumes:
|
|
||||||
- ghost_data:/var/lib/ghost/content:rw
|
|
||||||
networks:
|
|
||||||
- infra-network
|
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true
|
|
||||||
|
|
||||||
# Database ghost
|
|
||||||
ghost_db:
|
|
||||||
image: mariadb:latest
|
|
||||||
container_name: ghost_db
|
|
||||||
profiles:
|
|
||||||
- database
|
|
||||||
- ghost
|
|
||||||
depends_on:
|
|
||||||
- caddy
|
|
||||||
restart: on-failure:5
|
|
||||||
volumes:
|
|
||||||
- ghost_db:/var/lib/mysql:rw
|
|
||||||
env_file:
|
|
||||||
- ./ghost/env/ghost_db.env
|
|
||||||
command: '--default-authentication-plugin=mysql_native_password'
|
|
||||||
networks:
|
|
||||||
- infra-network
|
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
ghost_db:
|
|
||||||
name: ghost_db
|
|
||||||
ghost_data:
|
|
||||||
name: ghost_data
|
|
6
infrastructure/ghost/env/ghost.env
vendored
6
infrastructure/ghost/env/ghost.env
vendored
@ -1,6 +0,0 @@
|
|||||||
database__client=mysql
|
|
||||||
database__connection__host=ghost_db
|
|
||||||
database__connection__user=bensuperpc
|
|
||||||
database__connection__password=37hc06tWrS9DbFN2RZG8qdMD
|
|
||||||
database__connection__database=ghost
|
|
||||||
url=https://ghost.bensuperpc.org
|
|
4
infrastructure/ghost/env/ghost_db.env
vendored
4
infrastructure/ghost/env/ghost_db.env
vendored
@ -1,4 +0,0 @@
|
|||||||
MARIADB_ROOT_PASSWORD=a03F1GYjpiHNAgAdB0ApYcb0Bp8ZAYh2
|
|
||||||
MARIADB_USER=bensuperpc
|
|
||||||
MARIADB_PASSWORD=37hc06tWrS9DbFN2RZG8qdMD
|
|
||||||
MARIADB_DATABASE=ghost
|
|
@ -7,10 +7,6 @@
|
|||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
||||||
href: https://www.bensuperpc.org/
|
href: https://www.bensuperpc.org/
|
||||||
description: Wordpress
|
description: Wordpress
|
||||||
- ghost:
|
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/ghost.png
|
|
||||||
href: https://ghost.bensuperpc.org/
|
|
||||||
description: Ghost
|
|
||||||
- uptime-kuma:
|
- uptime-kuma:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png
|
||||||
href: https://uptimekuma.bensuperpc.org/
|
href: https://uptimekuma.bensuperpc.org/
|
||||||
@ -25,6 +21,10 @@
|
|||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
||||||
href: https://psitransfer.bensuperpc.org/
|
href: https://psitransfer.bensuperpc.org/
|
||||||
description: PsiTransfer
|
description: PsiTransfer
|
||||||
|
- privatebin:
|
||||||
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/privatebin.png
|
||||||
|
href: https://privatebin.bensuperpc.org/
|
||||||
|
description: PrivateBin
|
||||||
- qbittorrent:
|
- qbittorrent:
|
||||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png
|
||||||
href: https://qbittorrent.bensuperpc.org/
|
href: https://qbittorrent.bensuperpc.org/
|
||||||
|
@ -11,7 +11,7 @@ base: https://homepage.bensuperpc.org
|
|||||||
logpath: /app/logs
|
logpath: /app/logs
|
||||||
|
|
||||||
background:
|
background:
|
||||||
image: /images/deep.jpg
|
image: /images/electronic.jpg
|
||||||
blur: md
|
blur: md
|
||||||
opacity: 50
|
opacity: 50
|
||||||
brightness: 50
|
brightness: 50
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 248 KiB |
BIN
infrastructure/homepage/image/electronic.jpg
Normal file
BIN
infrastructure/homepage/image/electronic.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 569 KiB |
Loading…
Reference in New Issue
Block a user