mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-05 07:14:25 +01:00
Compare commits
5 Commits
5eef332e34
...
1f96c00bfc
Author | SHA1 | Date | |
---|---|---|---|
1f96c00bfc | |||
247e344a52 | |||
bd67d7d944 | |||
47ea7b6ea5 | |||
059289d7c3 |
2
Makefile
2
Makefile
@ -13,7 +13,7 @@
|
||||
|
||||
DOCKER := docker
|
||||
|
||||
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin linkstack homepage watchtower
|
||||
PROFILES := caddy wordpress adminer ghost syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage watchtower
|
||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||
|
||||
# gitea-runner transmission
|
||||
|
@ -212,7 +212,7 @@ To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-container
|
||||
- [PsiTransfer](https://psitransfer.com/)
|
||||
- [It-tools](https://github.com/CorentinTh/it-tools)
|
||||
- [Privatebin](https://github.com/PrivateBin/PrivateBin)
|
||||
- [Linkstack](https://linkstack.org)
|
||||
- [ghost](https://ghost.org)
|
||||
- [Homepage Tuto](https://belginux.com/installer-homepage-avec-docker/)
|
||||
- [Imagisphe](https://imagisphe.re/)
|
||||
|
||||
|
@ -101,18 +101,14 @@ pastebin.bensuperpc.org {
|
||||
redir https://privatebin.bensuperpc.org permanent
|
||||
}
|
||||
|
||||
linkstack.bensuperpc.org {
|
||||
reverse_proxy linkstack:443 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
homepage.bensuperpc.org {
|
||||
reverse_proxy homepage:3000
|
||||
}
|
||||
|
||||
ghost.bensuperpc.org {
|
||||
reverse_proxy ghost:2368
|
||||
}
|
||||
|
||||
link.bensuperpc.org {
|
||||
# TODO: Use service with database
|
||||
# Friendly links
|
||||
|
45
infrastructure/ghost/docker-compose.ghost.yml
Normal file
45
infrastructure/ghost/docker-compose.ghost.yml
Normal file
@ -0,0 +1,45 @@
|
||||
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
Normal file
6
infrastructure/ghost/env/ghost.env
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
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
Normal file
4
infrastructure/ghost/env/ghost_db.env
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
MARIADB_ROOT_PASSWORD=a03F1GYjpiHNAgAdB0ApYcb0Bp8ZAYh2
|
||||
MARIADB_USER=bensuperpc
|
||||
MARIADB_PASSWORD=37hc06tWrS9DbFN2RZG8qdMD
|
||||
MARIADB_DATABASE=ghost
|
@ -2,27 +2,47 @@
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/services
|
||||
|
||||
- Blog:
|
||||
- Personal:
|
||||
- wordpress:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/wordpress.png
|
||||
href: https://www.bensuperpc.org/
|
||||
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:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/uptime-kuma.png
|
||||
href: https://uptimekuma.bensuperpc.org/
|
||||
description: Uptime Kuma
|
||||
|
||||
- Media:
|
||||
- Sharing:
|
||||
- jellyfin:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/jellyfin.png
|
||||
href: https://jellyfin.bensuperpc.org/
|
||||
description: Jellyfin
|
||||
- psitransfer:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
||||
href: https://psitransfer.bensuperpc.org/
|
||||
description: PsiTransfer
|
||||
- qbittorrent:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png
|
||||
href: https://qbittorrent.bensuperpc.org/
|
||||
description: qBittorrent
|
||||
- syncthing:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/syncthing.png
|
||||
href: https://syncthing.bensuperpc.org/
|
||||
description: Syncthing
|
||||
- transmission:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/transmission.png
|
||||
href: https://transmission.bensuperpc.org/
|
||||
description: Transmission
|
||||
|
||||
- Utils:
|
||||
- it-tools:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/it-tools.png
|
||||
href: https://it-tools.bensuperpc.org/
|
||||
description: IT Tools
|
||||
- psitransfer:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/psitransfer.png
|
||||
href: https://psitransfer.bensuperpc.org/
|
||||
description: PsiTransfer
|
||||
- gitea:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/gitea.png
|
||||
href: https://gitea.bensuperpc.org/
|
||||
|
@ -4,10 +4,49 @@
|
||||
|
||||
title: Bensuperpc
|
||||
|
||||
headerStyle: boxedWidgets
|
||||
base: https://homepage.bensuperpc.org
|
||||
|
||||
#favicon: /images/favicon.ico
|
||||
|
||||
logpath: /app/logs
|
||||
|
||||
background:
|
||||
image: /images/deep.jpg
|
||||
blur: md
|
||||
opacity: 50
|
||||
brightness: 50
|
||||
|
||||
theme: dark
|
||||
color: slate
|
||||
|
||||
language: fr
|
||||
|
||||
layout:
|
||||
Personal:
|
||||
style: row
|
||||
columns: 6
|
||||
Media:
|
||||
style: row
|
||||
columns: 6
|
||||
Sharing:
|
||||
style: row
|
||||
columns: 6
|
||||
Utils:
|
||||
style: row
|
||||
columns: 6
|
||||
initiallyCollapsed: false
|
||||
|
||||
quicklaunch:
|
||||
searchDescriptions: true
|
||||
hideInternetSearch: false
|
||||
hideVisitURL: false
|
||||
|
||||
hideVersion: true
|
||||
|
||||
headerStyle: boxed
|
||||
|
||||
useEqualHeights: true
|
||||
|
||||
providers:
|
||||
openweathermap: openweathermapapikey
|
||||
weatherapi: weatherapiapikey
|
||||
#providers:
|
||||
# openweathermap: openweathermapapikey
|
||||
# weatherapi: weatherapiapikey
|
||||
|
@ -11,8 +11,9 @@ services:
|
||||
env_file:
|
||||
- ./homepage/env/homepage.env
|
||||
volumes:
|
||||
- ./homepage/config:/app/config
|
||||
- homepage_log:/app/config/logs
|
||||
- homepage_log:/app/logs
|
||||
- ./homepage/config:/app/config:ro
|
||||
- ./homepage/image:/app/public/images:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- infra-network
|
||||
|
BIN
infrastructure/homepage/image/deep.jpg
Normal file
BIN
infrastructure/homepage/image/deep.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 KiB |
@ -1,30 +0,0 @@
|
||||
services:
|
||||
# linkstack
|
||||
linkstack:
|
||||
image: linkstackorg/linkstack:latest
|
||||
container_name: linkstack
|
||||
profiles:
|
||||
- linkstack
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
env_file:
|
||||
- ./linkstack/env/linkstack.env
|
||||
volumes:
|
||||
- linkstack_data:/htdocs
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.001'
|
||||
memory: 20M
|
||||
|
||||
volumes:
|
||||
linkstack_data:
|
||||
name: linkstack_data
|
7
infrastructure/linkstack/env/linkstack.env
vendored
7
infrastructure/linkstack/env/linkstack.env
vendored
@ -1,7 +0,0 @@
|
||||
HTTP_SERVER_NAME="linkstack.bensuperpc.org"
|
||||
HTTPS_SERVER_NAME="linkstack.bensuperpc.org"
|
||||
TZ="Europe/Paris"
|
||||
PHP_MEMORY_LIMIT="512M"
|
||||
UPLOAD_MAX_FILESIZE="8M"
|
||||
LOG_LEVEL="info"
|
||||
SERVER_ADMIN="bensuperpc@gmail.com"
|
Loading…
Reference in New Issue
Block a user