From fe327d654a9c2596e57262d0c6413d21dd1d99ec Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sat, 24 Aug 2024 17:01:40 +0200 Subject: [PATCH] Reapply "Remove ghost" This reverts commit 1f96c00bfc4d3dada5acad4cb8d35df6f9b29043. --- Makefile | 2 +- .../caddy/config/bensuperpc.org/Caddyfile | 4 -- infrastructure/ghost/docker-compose.ghost.yml | 45 ------------------- infrastructure/ghost/env/ghost.env | 6 --- infrastructure/ghost/env/ghost_db.env | 4 -- infrastructure/homepage/config/services.yaml | 4 -- 6 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 infrastructure/ghost/docker-compose.ghost.yml delete mode 100644 infrastructure/ghost/env/ghost.env delete mode 100644 infrastructure/ghost/env/ghost_db.env diff --git a/Makefile b/Makefile index 7c82c60..a35db00 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ DOCKER := docker -PROFILES := caddy wordpress adminer ghost syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage +PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin homepage PROFILE_CMD := $(addprefix --profile ,$(PROFILES)) # gitea-runner transmission dozzle watchtower diff --git a/infrastructure/caddy/config/bensuperpc.org/Caddyfile b/infrastructure/caddy/config/bensuperpc.org/Caddyfile index e969bb8..22a13a6 100644 --- a/infrastructure/caddy/config/bensuperpc.org/Caddyfile +++ b/infrastructure/caddy/config/bensuperpc.org/Caddyfile @@ -105,10 +105,6 @@ homepage.bensuperpc.org { reverse_proxy homepage:3000 } -ghost.bensuperpc.org { - reverse_proxy ghost:2368 -} - dozzle.bensuperpc.org { reverse_proxy dozzle:8080 } diff --git a/infrastructure/ghost/docker-compose.ghost.yml b/infrastructure/ghost/docker-compose.ghost.yml deleted file mode 100644 index f1a2525..0000000 --- a/infrastructure/ghost/docker-compose.ghost.yml +++ /dev/null @@ -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 diff --git a/infrastructure/ghost/env/ghost.env b/infrastructure/ghost/env/ghost.env deleted file mode 100644 index 6bdb433..0000000 --- a/infrastructure/ghost/env/ghost.env +++ /dev/null @@ -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 \ No newline at end of file diff --git a/infrastructure/ghost/env/ghost_db.env b/infrastructure/ghost/env/ghost_db.env deleted file mode 100644 index d70a540..0000000 --- a/infrastructure/ghost/env/ghost_db.env +++ /dev/null @@ -1,4 +0,0 @@ -MARIADB_ROOT_PASSWORD=a03F1GYjpiHNAgAdB0ApYcb0Bp8ZAYh2 -MARIADB_USER=bensuperpc -MARIADB_PASSWORD=37hc06tWrS9DbFN2RZG8qdMD -MARIADB_DATABASE=ghost diff --git a/infrastructure/homepage/config/services.yaml b/infrastructure/homepage/config/services.yaml index d1c82ff..1e28fdd 100644 --- a/infrastructure/homepage/config/services.yaml +++ b/infrastructure/homepage/config/services.yaml @@ -7,10 +7,6 @@ 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/