portainer-stacks/ss_webhosting.yaml

61 lines
1.6 KiB
YAML
Raw Normal View History

2023-10-29 05:40:25 +00:00
services:
2023-10-31 03:34:09 +00:00
2023-10-31 03:30:58 +00:00
## Zero Trust Tunnel
2023-10-29 05:40:25 +00:00
cloudflare-webhosting:
image: cloudflare/cloudflared:latest
2024-09-27 04:04:47 +00:00
container_name: cloudflare_ss_hosting_ingress
2023-10-29 05:40:25 +00:00
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=$TUNNEL_TOKEN
2023-11-11 04:48:57 +00:00
## Database / Database Management
2023-10-31 03:30:58 +00:00
mariadb_webhosting:
image: linuxserver/mariadb
container_name: mariadb_webhosting
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD
volumes:
2023-11-11 04:57:21 +00:00
- /ss_webhosting/mariadb:/config
2023-10-31 03:30:58 +00:00
2023-11-11 04:48:57 +00:00
phpmyadmin_webhosting:
image: phpmyadmin
2023-11-11 05:04:44 +00:00
container_name: phpmyadmin_webhosting
2023-11-11 04:48:57 +00:00
restart: unless-stopped
depends_on:
- mariadb_webhosting
environment:
- PMA_HOST=mariadb_webhosting
- PMA_PORT=3306
2023-10-31 03:30:58 +00:00
## Sites
2023-11-11 04:48:57 +00:00
simplysyncedllc_website:
image: gitea.dex/dex/simplysyncedllc_website:latest
2023-10-29 05:40:25 +00:00
container_name: ss_website
restart: always
2023-11-23 06:17:20 +00:00
environment:
- NEXT_PUBLIC_SENDGRID_API_KEY=$NEXT_PUBLIC_SENDGRID_API_KEY
- NEXT_PUBLIC_RECAPTCHA_SITE_KEY=$NEXT_PUBLIC_RECAPTCHA_SITE_KEY
- NEXT_PUBLIC_RECAPTCHA_SECRET_KEY=$NEXT_PUBLIC_RECAPTCHA_SECRET_KEY
2023-11-11 04:48:57 +00:00
phlares_website:
image: wordpress
2023-11-13 21:04:20 +00:00
container_name: phlares_website
2023-11-11 04:48:57 +00:00
restart: always
environment:
WORDPRESS_DB_HOST: mariadb_webhosting
WORDPRESS_DB_USER: phlares
2023-11-11 04:55:07 +00:00
WORDPRESS_DB_PASSWORD: $PHLARES_DB_PASS
2023-11-11 04:48:57 +00:00
WORDPRESS_DB_NAME: phlares
volumes:
2023-11-11 06:41:37 +00:00
- /ss_webhosting/phlares_website:/var/www/html
2023-10-29 05:40:25 +00:00
2023-11-13 21:04:20 +00:00
2023-10-29 05:40:25 +00:00
networks:
2023-11-11 05:38:11 +00:00
default:
name: dockers_default
2023-10-29 05:40:25 +00:00
external: true