Update webhosting.yaml
parent
0d31fba2fc
commit
489c13391b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue