version: '3.9' services: ## Zero Trust Tunnel cloudflare-webhosting: image: cloudflare/cloudflared:latest restart: unless-stopped command: tunnel run 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 build: context: /webhosting/ss_website dockerfile: Dockerfile networks: webhosting: external: true name: webhosting