adding in wordpress

This commit is contained in:
Braden Jageman 2024-04-08 02:02:04 -04:00
parent d844ae85c3
commit 94ae6a25f9
2 changed files with 66 additions and 9 deletions

View File

@ -0,0 +1 @@
client_max_body_size 10000m;

View File

@ -1,4 +1,4 @@
version: '2' version: '3.1'
services: services:
nginx-proxy: nginx-proxy:
@ -7,6 +7,7 @@ services:
- "80:80" - "80:80"
volumes: volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
plex: plex:
image: lscr.io/linuxserver/plex:latest image: lscr.io/linuxserver/plex:latest
container_name: plex container_name: plex
@ -34,7 +35,7 @@ services:
- PUID=${UID} - PUID=${UID}
- PGID=${GID} - PGID=${GID}
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=radarr.${DOMAIN} - VIRTUAL_HOST=radarr.${DOMAIN},radar.${DOMAIN}
volumes: volumes:
- ./config/radarr:/config - ./config/radarr:/config
- /media/storage/Movies:/movies - /media/storage/Movies:/movies
@ -51,7 +52,7 @@ services:
- PUID=${UID} - PUID=${UID}
- PGID=${GID} - PGID=${GID}
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=sonarr.${DOMAIN} - VIRTUAL_HOST=sonarr.${DOMAIN},sonar.${DOMAIN}
volumes: volumes:
- ./config/sonarr:/config - ./config/sonarr:/config
- /media/storage/TV:/tv - /media/storage/TV:/tv
@ -83,7 +84,7 @@ services:
- PUID=${UID} - PUID=${UID}
- PGID=${GID} - PGID=${GID}
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=overseerr.${DOMAIN} - VIRTUAL_HOST=overseerr.${DOMAIN},overseer.${DOMAIN}
volumes: volumes:
- ./config/overseerr:/config - ./config/overseerr:/config
expose: expose:
@ -98,7 +99,7 @@ services:
- PUID=33 - PUID=33
- PGID=1001 - PGID=1001
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=lidarr.${DOMAIN} - VIRTUAL_HOST=lidarr.${DOMAIN},lidar.${DOMAIN}
volumes: volumes:
- ./config/lidarr:/config - ./config/lidarr:/config
- /media/storage/Music:/music - /media/storage/Music:/music
@ -116,7 +117,7 @@ services:
- PUID=${UID} - PUID=${UID}
- PGID=${GID} - PGID=${GID}
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=mylar.${DOMAIN} - VIRTUAL_HOST=mylar.${DOMAIN},mylar3.${DOMAIN}
volumes: volumes:
- ./config/mylar3:/config - ./config/mylar3:/config
- /media/storage/Comics:/comics - /media/storage/Comics:/comics
@ -142,7 +143,7 @@ services:
- "2202" - "2202"
- "2203" - "2203"
ports: ports:
- 2202:2202 - 2202:2202 #:2202/ubooquity
- 2203:2203 #:2203/ubooquity/admin - 2203:2203 #:2203/ubooquity/admin
restart: unless-stopped restart: unless-stopped
audiobookshelf: audiobookshelf:
@ -164,7 +165,7 @@ services:
- PUID=${UID} - PUID=${UID}
- PGID=${GID} - PGID=${GID}
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=readarr.${DOMAIN} - VIRTUAL_HOST=readarr.${DOMAIN},readar.${DOMAIN}
volumes: volumes:
- ./config/readarr:/config - ./config/readarr:/config
- /media/storage/Books:/books - /media/storage/Books:/books
@ -181,7 +182,7 @@ services:
- PUID=${UID} - PUID=${UID}
- PGID=${GID} - PGID=${GID}
- TZ=${TZ} - TZ=${TZ}
- VIRTUAL_HOST=readarr-audio.${DOMAIN} - VIRTUAL_HOST=readarr-audio.${DOMAIN},readar-audio.${DOMAIN}
- VIRTUAL_PORT=8787 - VIRTUAL_PORT=8787
volumes: volumes:
- ./config/readarr-audio:/config - ./config/readarr-audio:/config
@ -192,3 +193,58 @@ services:
ports: ports:
- 8788:8788 - 8788:8788
restart: unless-stopped restart: unless-stopped
wordpress-botc:
depends_on:
- db-botc
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db-botc
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
VIRTUAL_HOST: "phillybotc.com, *.phillybotc.com"
volumes:
- wordpress-botc:/var/www/html
db-botc:
image: mysql:latest
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db-botc:/var/lib/mysql
wordpress-home:
depends_on:
- db-home
image: wordpress
restart: always
ports:
- 8081:80
environment:
WORDPRESS_DB_HOST: db-home
WORDPRESS_DB_USER: brodin
WORDPRESS_DB_PASSWORD: brodinpass
WORDPRESS_DB_NAME: brodindb
VIRTUAL_HOST: "brodin.rocks, www.brodin.rocks"
volumes:
- wordpress-home:/var/www/html
db-home:
image: mysql:latest
restart: always
environment:
MYSQL_DATABASE: brodindb
MYSQL_USER: brodin
MYSQL_PASSWORD: brodinpass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db-home:/var/lib/mysql
volumes:
wordpress-home:
db-home:
wordpress-botc:
db-botc: