Compare commits
No commits in common. "f381bb7a7b94605d44fec2bd3527529719e295db" and "64eb98fe0e17797f810e1502f3b6512ac640db7e" have entirely different histories.
f381bb7a7b
...
64eb98fe0e
|
@ -145,7 +145,6 @@ services:
|
||||||
- ${CONFIG_LOCATION}/readarr:/config
|
- ${CONFIG_LOCATION}/readarr:/config
|
||||||
- ${DATA_LOCATION}/Books:/books
|
- ${DATA_LOCATION}/Books:/books
|
||||||
- /media/seedbox:/downloads
|
- /media/seedbox:/downloads
|
||||||
- ${DATA_LOCATION}/Downloads:/downloads-local
|
|
||||||
expose:
|
expose:
|
||||||
- "8787"
|
- "8787"
|
||||||
ports:
|
ports:
|
||||||
|
@ -165,7 +164,6 @@ services:
|
||||||
- ${CONFIG_LOCATION}/readarr-audio:/config
|
- ${CONFIG_LOCATION}/readarr-audio:/config
|
||||||
- ${DATA_LOCATION}/Audiobooks:/audiobooks
|
- ${DATA_LOCATION}/Audiobooks:/audiobooks
|
||||||
- /media/seedbox:/downloads
|
- /media/seedbox:/downloads
|
||||||
- ${DATA_LOCATION}/Downloads:/downloads-local
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
location /tt-rss/ {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
|
proxy_pass http://127.0.0.1:8280/tt-rss/;
|
||||||
|
break;
|
||||||
|
}
|
|
@ -1,5 +1,3 @@
|
||||||
DOMAIN=example.com
|
DOMAIN=example.com
|
||||||
DBPASS=password
|
DBPASS=password
|
||||||
EMAIL=example@mail.com
|
EMAIL=example@mail.com
|
||||||
DOMAIN=example.com
|
|
||||||
|
|
4
sites/botc/.gitignore
vendored
Normal file
4
sites/botc/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
backup/*
|
||||||
|
wordpress/*
|
||||||
|
data/*
|
||||||
|
db/*
|
34
sites/botc/docker-compose.yml
Normal file
34
sites/botc/docker-compose.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mysql:8.0
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_DATABASE: clocktower
|
||||||
|
MYSQL_USER: wordpress
|
||||||
|
MYSQL_PASSWORD: ${DBPASS}
|
||||||
|
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||||
|
volumes:
|
||||||
|
- ./db:/var/lib/mysql:rw
|
||||||
|
wordpress:
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
image: wordpress
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
# PUID: ${UID}
|
||||||
|
# PGID: ${GID}
|
||||||
|
WORDPRESS_DB_HOST: botc-db-1
|
||||||
|
WORDPRESS_DB_USER: wordpress
|
||||||
|
WORDPRESS_DB_PASSWORD: ${DBPASS}
|
||||||
|
WORDPRESS_DB_NAME: clocktower
|
||||||
|
VIRTUAL_HOST: "www.phillybotc.com, phillybotc.com"
|
||||||
|
LETSENCRYPT_HOST: "phillybotc.com, www.phillybotc.com"
|
||||||
|
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||||
|
# LETSENCRYPT_TEST: true
|
||||||
|
volumes:
|
||||||
|
- ./wordpress:/var/www/html:rw
|
||||||
|
- ./backup:/var/www/html/wp-content/updraft:rw
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: nginx-proxy
|
||||||
|
external: true
|
3
sites/ghost-botc/.gitignore
vendored
3
sites/ghost-botc/.gitignore
vendored
|
@ -1,3 +0,0 @@
|
||||||
db/*
|
|
||||||
content/*
|
|
||||||
config.*.json
|
|
|
@ -1,42 +0,0 @@
|
||||||
services:
|
|
||||||
ghost:
|
|
||||||
image: ghost:5
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- 2371:2368
|
|
||||||
expose:
|
|
||||||
- 2371
|
|
||||||
environment:
|
|
||||||
# see https://ghost.org/docs/config/#configuration-options
|
|
||||||
database__client: mysql
|
|
||||||
database__connection__host: ghost-botc-db-1
|
|
||||||
database__connection__user: root
|
|
||||||
database__connection__password: ${DBPASS}
|
|
||||||
database__connection__database: ghost
|
|
||||||
# VIRTUAL_HOST: "www.${DOMAIN}, ${DOMAIN}"
|
|
||||||
VIRTUAL_HOST: "www.phillybotc.com, phillybotc.com"
|
|
||||||
VIRTUAL_PORT: 2371
|
|
||||||
# LETSENCRYPT_HOST: "${DOMAIN}, www.${DOMAIN}"
|
|
||||||
LETSENCRYPT_HOST: "www.phillybotc.com, phillybotc.com"
|
|
||||||
LETSENCRYPT_EMAIL: ${EMAIL}
|
|
||||||
# url: http://0.0.0.0:2371 #Dev
|
|
||||||
url: "https://phillybotc.com" #Prod
|
|
||||||
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
|
|
||||||
NODE_ENV: production
|
|
||||||
volumes:
|
|
||||||
- ./content:/var/lib/ghost/content
|
|
||||||
# - ./themes:/var/lib/ghost/current/content/themes:rw
|
|
||||||
db:
|
|
||||||
image: mysql:8.0
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
MYSQL_DATABASE: ghost
|
|
||||||
MYSQL_ROOT_PASSWORD: ${DBPASS}
|
|
||||||
volumes:
|
|
||||||
- db:/var/lib/mysql
|
|
||||||
volumes:
|
|
||||||
db:
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
name: nginx-proxy
|
|
||||||
external: true
|
|
|
@ -1,2 +0,0 @@
|
||||||
sudo docker cp config.development.json ghost-botc-ghost-1:/var/lib/ghost/.
|
|
||||||
sudo docker cp config.production.json ghost-botc-ghost-1:/var/lib/ghost/.
|
|
|
@ -1,2 +0,0 @@
|
||||||
sudo docker cp config.development.json photos-ghost-1:/var/lib/ghost/.
|
|
||||||
sudo docker cp config.production.json photos-ghost-1:/var/lib/ghost/.
|
|
Loading…
Reference in New Issue
Block a user