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: