From cfa8043eda1a9a5d51ec98dd08d9c83146cf4a5a Mon Sep 17 00:00:00 2001 From: Dex Burgess Date: Sat, 11 Nov 2023 04:48:57 +0000 Subject: [PATCH] Update webhosting.yaml --- webhosting.yaml | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/webhosting.yaml b/webhosting.yaml index 8319859..544caf6 100644 --- a/webhosting.yaml +++ b/webhosting.yaml @@ -9,7 +9,7 @@ services: environment: - TUNNEL_TOKEN=$TUNNEL_TOKEN - ## Databases + ## Database / Database Management mariadb_webhosting: image: linuxserver/mariadb container_name: mariadb_webhosting @@ -23,16 +23,32 @@ services: ports: - 3306:3306 + phpmyadmin_webhosting: + image: phpmyadmin + container_name: phpmyadmin + restart: unless-stopped + depends_on: + - mariadb_webhosting + environment: + - PMA_HOST=mariadb_webhosting + - PMA_PORT=3306 + ## Sites - ss_website: + simplysyncedllc_website: + image: gitea.dex/dex/simplysyncedllc_website:latest container_name: ss_website - image: ss_website restart: always - ports: - - 3000:3000 - build: - context: /webhosting/ss_website - dockerfile: Dockerfile + + phlares_website: + image: wordpress + restart: always + environment: + WORDPRESS_DB_HOST: mariadb_webhosting + WORDPRESS_DB_USER: phlares + WORDPRESS_DB_PASSWORD: $PHLARES_DB + WORDPRESS_DB_NAME: phlares + volumes: + - wordpress:/var/www/html networks: webhosting: