From 489c13391b8ba8aacaf206eb73adc3ed2b6c7924 Mon Sep 17 00:00:00 2001 From: dex Date: Tue, 31 Oct 2023 03:30:58 +0000 Subject: [PATCH] Update webhosting.yaml --- webhosting.yaml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/webhosting.yaml b/webhosting.yaml index 7675874..166910c 100644 --- a/webhosting.yaml +++ b/webhosting.yaml @@ -1,6 +1,7 @@ version: '3.9' services: + ## Zero Trust Tunnel cloudflare-webhosting: image: cloudflare/cloudflared:latest restart: unless-stopped @@ -8,14 +9,30 @@ services: environment: - TUNNEL_TOKEN=$TUNNEL_TOKEN + ## Databases + mariadb_webhosting: + image: linuxserver/mariadb + container_name: mariadb_webhosting + restart: unless-stopped + environment: + - PUID=1000 + - PGID=1000 + - MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD + volumes: + - /webhosting/mariadb:/config + ports: + - 3306:3306 + + + ## Sites ss_website: container_name: ss_website image: ss_website restart: always - ports: - - 3000:3000 + #ports: + # - 3000:3000 build: - context: /dockers/ss_website + context: /webhosting/ss_website dockerfile: Dockerfile networks: