Update webhosting.yaml

master
Dex Burgess 2023-11-11 04:48:57 +00:00
parent a3c90e1fee
commit cfa8043eda
1 changed files with 24 additions and 8 deletions

View File

@ -9,7 +9,7 @@ services:
environment: environment:
- TUNNEL_TOKEN=$TUNNEL_TOKEN - TUNNEL_TOKEN=$TUNNEL_TOKEN
## Databases ## Database / Database Management
mariadb_webhosting: mariadb_webhosting:
image: linuxserver/mariadb image: linuxserver/mariadb
container_name: mariadb_webhosting container_name: mariadb_webhosting
@ -23,16 +23,32 @@ services:
ports: ports:
- 3306:3306 - 3306:3306
phpmyadmin_webhosting:
image: phpmyadmin
container_name: phpmyadmin
restart: unless-stopped
depends_on:
- mariadb_webhosting
environment:
- PMA_HOST=mariadb_webhosting
- PMA_PORT=3306
## Sites ## Sites
ss_website: simplysyncedllc_website:
image: gitea.dex/dex/simplysyncedllc_website:latest
container_name: ss_website container_name: ss_website
image: ss_website
restart: always restart: always
ports:
- 3000:3000 phlares_website:
build: image: wordpress
context: /webhosting/ss_website restart: always
dockerfile: Dockerfile environment:
WORDPRESS_DB_HOST: mariadb_webhosting
WORDPRESS_DB_USER: phlares
WORDPRESS_DB_PASSWORD: $PHLARES_DB
WORDPRESS_DB_NAME: phlares
volumes:
- wordpress:/var/www/html
networks: networks:
webhosting: webhosting: