55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
version: '3.9'
|
|
services:
|
|
|
|
## Zero Trust Tunnel
|
|
cloudflare-webhosting:
|
|
image: cloudflare/cloudflared:latest
|
|
restart: unless-stopped
|
|
command: tunnel run
|
|
environment:
|
|
- TUNNEL_TOKEN=$TUNNEL_TOKEN
|
|
|
|
## Database / Database Management
|
|
mariadb_webhosting:
|
|
image: linuxserver/mariadb
|
|
container_name: mariadb_webhosting
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD
|
|
volumes:
|
|
- /ss_webhosting/mariadb:/config
|
|
|
|
phpmyadmin_webhosting:
|
|
image: phpmyadmin
|
|
container_name: phpmyadmin_webhosting
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mariadb_webhosting
|
|
environment:
|
|
- PMA_HOST=mariadb_webhosting
|
|
- PMA_PORT=3306
|
|
|
|
## Sites
|
|
simplysyncedllc_website:
|
|
image: gitea.dex/dex/simplysyncedllc_website:latest
|
|
container_name: ss_website
|
|
restart: always
|
|
|
|
phlares_website:
|
|
image: wordpress
|
|
restart: always
|
|
environment:
|
|
WORDPRESS_DB_HOST: mariadb_webhosting
|
|
WORDPRESS_DB_USER: phlares
|
|
WORDPRESS_DB_PASSWORD: $PHLARES_DB_PASS
|
|
WORDPRESS_DB_NAME: phlares
|
|
volumes:
|
|
- /ss_webhosting:/var/www/html
|
|
|
|
networks:
|
|
ss_webhosting:
|
|
name: ss_webhosting
|
|
external: true
|