commit
3ada74309c
|
@ -1 +0,0 @@
|
||||||
Subproject commit bc4648940633919d5a8b7d6713a074d2a197b0a3
|
|
1
botc/.gitignore
vendored
1
botc/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
backup/*
|
backup/*
|
||||||
|
wordpress/*
|
|
@ -21,12 +21,12 @@ services:
|
||||||
WORDPRESS_DB_USER: wordpress
|
WORDPRESS_DB_USER: wordpress
|
||||||
WORDPRESS_DB_PASSWORD: ${DBPASS}
|
WORDPRESS_DB_PASSWORD: ${DBPASS}
|
||||||
WORDPRESS_DB_NAME: clocktower
|
WORDPRESS_DB_NAME: clocktower
|
||||||
VIRTUAL_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
|
VIRTUAL_HOST: "www.phillybotc.com, phillybotc.com"
|
||||||
LETSENCRYPT_HOST: "botc.${DOMAIN}, *.phillybotc.com, phillybotc.com"
|
LETSENCRYPT_HOST: "phillybotc.com, www.phillybotc.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:
|
volumes:
|
||||||
wordpress:
|
wordpress:
|
||||||
|
|
10
games/.env.example
Normal file
10
games/.env.example
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
DOMAIN=example.com
|
||||||
|
UID=1000
|
||||||
|
GID=1000
|
||||||
|
TZ=Etc/UTC
|
||||||
|
CONFIG_LOCATION=./config
|
||||||
|
DATA_LOCATION=./data
|
||||||
|
EMAIL=example@mail.com
|
||||||
|
DBUSER=example
|
||||||
|
DBPASS=password
|
||||||
|
RAWG_API_KEY=
|
1
games/.gitignore
vendored
Normal file
1
games/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
data/*
|
40
games/docker-compose.yml
Normal file
40
games/docker-compose.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
services:
|
||||||
|
gamevault-backend:
|
||||||
|
image: phalcode/gamevault-backend:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- PUID=${UID}
|
||||||
|
- PGID=${GID}
|
||||||
|
- DB_HOST=games-db-1
|
||||||
|
- DB_USERNAME=${DBUSER}
|
||||||
|
- DB_PASSWORD=${DBPASS}
|
||||||
|
- VIRTUAL_HOST=gamevault.${DOMAIN}
|
||||||
|
- LETSENCRYPT_HOST=gamevault.${DOMAIN}
|
||||||
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
||||||
|
# Uncomment and insert your RAWG API Key here if you have one (http://rawg.io/login?forward=developer)
|
||||||
|
- RAWG_API_KEY=${RAWG_API_KEY}
|
||||||
|
volumes:
|
||||||
|
# Mount the folder where your games are
|
||||||
|
- ${DATA_LOCATION}:/files
|
||||||
|
# Mount the folder where GameVault should store its images
|
||||||
|
- ${DATA_LOCATION}/images:/images
|
||||||
|
expose:
|
||||||
|
- "8080"
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
db:
|
||||||
|
image: postgres:16
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: ${DBUSER}
|
||||||
|
POSTGRES_PASSWORD: ${DBPASS}
|
||||||
|
POSTGRES_DB: gamevault
|
||||||
|
volumes:
|
||||||
|
# Mount the folder where your PostgreSQL database files should land
|
||||||
|
- db:/var/lib/postgresql/data
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: nginx-proxy
|
||||||
|
external: true
|
|
@ -1,38 +1,43 @@
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
|
# user: "${UID}:${GID}"
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: redis-dbcache
|
container_name: redis-dbcache
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
db:
|
db:
|
||||||
image: mysql:latest
|
image: mysql:latest
|
||||||
restart: always
|
restart: always
|
||||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --log_bin_trust_function_creators=true
|
||||||
|
# user: ${UID}:${GID}
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=${DBPASS}
|
- MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD
|
||||||
- MYSQL_PASSWORD=${DBPASS}
|
- MYSQL_PASSWORD=${DBPASS}
|
||||||
- MYSQL_DATABASE=nextcloud
|
- MYSQL_DATABASE=nextcloud
|
||||||
- MYSQL_USER=root
|
- MYSQL_USER=nextcloud
|
||||||
nextcloud:
|
nextcloud:
|
||||||
image: lscr.io/linuxserver/nextcloud:latest
|
image: nextcloud:29.0.0
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
|
# user: "${UID}:${GID}"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
links:
|
||||||
|
- db
|
||||||
environment:
|
environment:
|
||||||
PUID: "1000"
|
|
||||||
PGID: "1000"
|
|
||||||
TZ: "${TZ}"
|
TZ: "${TZ}"
|
||||||
VIRTUAL_HOST: "nextcloud.${DOMAIN}"
|
VIRTUAL_HOST: "nextcloud.${DOMAIN}"
|
||||||
MYSQL_HOST: db
|
MYSQL_HOST: db
|
||||||
MYSQL_DATABASE: nextcloud
|
MYSQL_DATABASE: nextcloud
|
||||||
MYSQL_USER: root
|
MYSQL_USER: nextcloud
|
||||||
MYSQL_PASSWORD: ${DBPASS}
|
MYSQL_PASSWORD: ${DBPASS}
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
LETSENCRYPT_HOST: nextcloud.${DOMAIN}
|
LETSENCRYPT_HOST: nextcloud.${DOMAIN}
|
||||||
LETSENCRYPT_EMAIL: ${EMAIL}
|
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||||
# LETSENCRYPT_TEST: true
|
# LETSENCRYPT_TEST: true
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_LOCATION}/nextcloud:/config
|
- ${CONFIG_LOCATION}:/var/www/html/config:rw
|
||||||
- ${DATA_LOCATION}/Cloud/Nextcloud:/data
|
- ${DATA_LOCATION}/Cloud/Nextcloud:/var/www/html/data:rw
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
EMAIL=example@mail.com
|
EMAIL=example@mail.com
|
||||||
|
TZ=America/New_York
|
|
@ -20,6 +20,7 @@ services:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_EMAIL=${EMAIL}
|
- DEFAULT_EMAIL=${EMAIL}
|
||||||
|
- TZ=${TZ}
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
name: nginx-proxy
|
name: nginx-proxy
|
||||||
|
|
1
nginx-proxy/nginx/.gitignore
vendored
1
nginx-proxy/nginx/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
certs/
|
certs/
|
||||||
|
html/
|
Loading…
Reference in New Issue
Block a user