Compare commits

...

2 Commits

Author SHA1 Message Date
a5fe3f0adf whoops 2024-07-14 12:13:59 -04:00
e91fa629a8 wiki stuff 2024-07-14 12:12:46 -04:00
6 changed files with 58 additions and 6 deletions

View File

@ -23,6 +23,8 @@ services:
privileged: true privileged: true
environment: environment:
- VIRTUAL_HOST=dash.${DOMAIN} - VIRTUAL_HOST=dash.${DOMAIN}
- LETSENCRYPT_HOST=dash.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
- DASHDOT_ENABLE_CPU_TEMPS=true - DASHDOT_ENABLE_CPU_TEMPS=true
- DASHDOT_FS_DEVICE_FILTER=sda,sdb,sdc,sdd,sde,sdf - DASHDOT_FS_DEVICE_FILTER=sda,sdb,sdc,sdd,sde,sdf
- DASHDOT_FS_VIRTUAL_MOUNTS=tank/storage/media, psb29404@psb29404.seedbox.io:/files - DASHDOT_FS_VIRTUAL_MOUNTS=tank/storage/media, psb29404@psb29404.seedbox.io:/files

View File

@ -1,2 +1,3 @@
db/*
backup/* backup/*
wordpress/* wordpress/*

View File

@ -8,7 +8,7 @@ services:
MYSQL_PASSWORD: ${DBPASS} MYSQL_PASSWORD: ${DBPASS}
MYSQL_RANDOM_ROOT_PASSWORD: '1' MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes: volumes:
- db:/var/lib/mysql - ./db:/var/lib/mysql
wordpress: wordpress:
depends_on: depends_on:
- db - db
@ -22,15 +22,12 @@ services:
WORDPRESS_DB_PASSWORD: ${DBPASS} WORDPRESS_DB_PASSWORD: ${DBPASS}
WORDPRESS_DB_NAME: fusiondance WORDPRESS_DB_NAME: fusiondance
VIRTUAL_HOST: "www.libertyfusiondance.com, libertyfusiondance.com" VIRTUAL_HOST: "www.libertyfusiondance.com, libertyfusiondance.com"
LETSENCRYPT_HOST: "libertyfusiondance.com, www.libertyfusiondance.com" LETSENCRYPT_HOST: "libertyfusiondance.com"
LETSENCRYPT_EMAIL: ${EMAIL} LETSENCRYPT_EMAIL: ${EMAIL}
# LETSENCRYPT_TEST: true # LETSENCRYPT_TEST: true
volumes: volumes:
- ./wordpress:/var/www/html - ./wordpress:/var/www/html
- ./backup:/var/www/html/wp-content/updraft - ./backup:/var/www/html/wp-content/updraft
volumes:
wordpress:
db:
networks: networks:
default: default:
name: nginx-proxy name: nginx-proxy

4
wiki/.env.example Normal file
View File

@ -0,0 +1,4 @@
DOMAIN=example.com
DBPASS=password
EMAIL=example@mail.com
TZ=America/New_York

4
wiki/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.env
config/*
db/*

44
wiki/docker-compose.yml Normal file
View File

@ -0,0 +1,44 @@
services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- APP_URL=https://wiki.${DOMAIN}
- DB_HOST=bookstack_db
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS=${DBPASS}
- DB_DATABASE=bookstackapp
- VIRTUAL_HOST=wiki.${DOMAIN}
- LETSENCRYPT_HOST=wiki.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
volumes:
- ./config:/config
ports:
- 6875:80
expose:
- "6875"
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: lscr.io/linuxserver/mariadb
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- MYSQL_ROOT_PASSWORD=${DBPASS}
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=${DBPASS}
volumes:
- ./db:/config
restart: unless-stopped
networks:
default:
name: nginx-proxy
external: true