Update webhosting.yaml
parent
0d31fba2fc
commit
489c13391b
|
@ -1,6 +1,7 @@
|
||||||
version: '3.9'
|
version: '3.9'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
## Zero Trust Tunnel
|
||||||
cloudflare-webhosting:
|
cloudflare-webhosting:
|
||||||
image: cloudflare/cloudflared:latest
|
image: cloudflare/cloudflared:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -8,14 +9,30 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- TUNNEL_TOKEN=$TUNNEL_TOKEN
|
- 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:
|
ss_website:
|
||||||
container_name: ss_website
|
container_name: ss_website
|
||||||
image: ss_website
|
image: ss_website
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
#ports:
|
||||||
- 3000:3000
|
# - 3000:3000
|
||||||
build:
|
build:
|
||||||
context: /dockers/ss_website
|
context: /webhosting/ss_website
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue