Compare commits
7 Commits
prod
...
d00d3fdc27
| Author | SHA1 | Date | |
|---|---|---|---|
| d00d3fdc27 | |||
| 37ffc6c5fa | |||
| a9783be3c8 | |||
| 525ed36a5e | |||
| 153efbff54 | |||
| fa435853de | |||
| 1f30f559d8 |
@@ -0,0 +1 @@
|
|||||||
|
TBD!
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
# 2026-05-29 Hyperling
|
||||||
|
# Supposedly much more resource friendly alternative to WordPress, which I typically avoid due to the resource usage andd slow response times.
|
||||||
|
# https://hub.docker.com/_/ghost
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
ghost-app:
|
||||||
|
container_name: $APP_NAME
|
||||||
|
image: ghost:bookworm
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8368:2368
|
||||||
|
depends_on:
|
||||||
|
ghost-db:
|
||||||
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
# see https://ghost.org/docs/config/#configuration-options
|
||||||
|
database__client: mysql
|
||||||
|
database__connection__host: $DB_NAME
|
||||||
|
database__connection__user: root
|
||||||
|
database__connection__password: $DB_ROOT_PASSWORD
|
||||||
|
database__connection__database: $DB_DATABASE
|
||||||
|
url: $URL
|
||||||
|
NODE_ENV: $MODE
|
||||||
|
volumes:
|
||||||
|
- ../../Volumes/Ghost/ghost:/var/lib/ghost/content
|
||||||
|
deploy:
|
||||||
|
mode: global
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: $CPU
|
||||||
|
memory: $MEM
|
||||||
|
|
||||||
|
ghost-db:
|
||||||
|
container_name: $DB_NAME
|
||||||
|
image: mariadb:lts
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
|
environment:
|
||||||
|
MARIADB_ROOT_PASSWORD: $DB_ROOT_PASSWORD
|
||||||
|
MARIADB_AUTO_UPGRADE: $DB_AUTO_UPGRADE
|
||||||
|
volumes:
|
||||||
|
- ../../Volumes/Ghost/db:/var/lib/mysql
|
||||||
|
deploy:
|
||||||
|
mode: global
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: $CPU_DB
|
||||||
|
memory: $MEM_DB
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
ghost:
|
||||||
|
db:
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
# This file needs copied to `.env` and have its values changes as needed.
|
||||||
|
|
||||||
|
## Docker ##
|
||||||
|
|
||||||
|
COMPOSE_BAKE=true
|
||||||
|
|
||||||
|
## End Docker ##
|
||||||
|
|
||||||
|
|
||||||
|
## Ghost ##
|
||||||
|
|
||||||
|
APP_NAME=ghost-app
|
||||||
|
|
||||||
|
URL='http://localhost:8368'
|
||||||
|
|
||||||
|
# Controls the Node.js runtime. Null is production.
|
||||||
|
MODE=
|
||||||
|
#MODE=development
|
||||||
|
|
||||||
|
## End Ghost ##
|
||||||
|
|
||||||
|
|
||||||
|
## Database ##
|
||||||
|
|
||||||
|
DB_NAME=ghost-db
|
||||||
|
|
||||||
|
DB_DATABASE=ghost
|
||||||
|
DB_ROOT_PASSWORD='db_root_password'
|
||||||
|
|
||||||
|
# Comment this if you do not want MariaDB to run upgrade scripts on new versions.
|
||||||
|
DB_AUTO_UPGRADE=1
|
||||||
|
|
||||||
|
## End Database ##
|
||||||
|
|
||||||
|
|
||||||
|
## Performance ##
|
||||||
|
|
||||||
|
# Standard Minimum
|
||||||
|
#CPU=0.10
|
||||||
|
#MEM=0.50G
|
||||||
|
#CPU_DB=1.00
|
||||||
|
#MEM_DB=1.00G
|
||||||
|
|
||||||
|
# Standard Recommended
|
||||||
|
#CPU=1.00
|
||||||
|
#MEM=1.00G
|
||||||
|
#CPU_DB=1.00
|
||||||
|
#MEM_DB=0.50G
|
||||||
|
|
||||||
|
# Tested Minimum - TBD
|
||||||
|
#CPU=0.35
|
||||||
|
#MEM=0.25G
|
||||||
|
#CPU_DB=0.15
|
||||||
|
#MEM_DB=0.25G
|
||||||
|
|
||||||
|
# Tested Recommended - TBD
|
||||||
|
CPU=0.85
|
||||||
|
MEM=0.65G
|
||||||
|
CPU_DB=0.15
|
||||||
|
MEM_DB=0.35G
|
||||||
|
|
||||||
|
## End Performance ##
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# https://hub.docker.com/r/linuxserver/lychee
|
||||||
|
# Still a work in progress, unsure if DB vars need filled.
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
lychee:
|
||||||
|
image: lscr.io/linuxserver/lychee:latest
|
||||||
|
container_name: lychee
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Etc/UTC
|
||||||
|
- DB_CONNECTION=
|
||||||
|
- DB_HOST=
|
||||||
|
- DB_PORT=
|
||||||
|
- DB_USERNAME=
|
||||||
|
- DB_PASSWORD=
|
||||||
|
- DB_DATABASE=
|
||||||
|
- APP_NAME=Lychee #optional
|
||||||
|
- APP_URL= #optional
|
||||||
|
- TRUSTED_PROXIES= #optional
|
||||||
|
volumes:
|
||||||
|
- /path/to/lychee/config:/config
|
||||||
|
- /path/to/pictures:/pictures
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
restart: unless-stopped
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# 2025-06-16 Hyperling
|
# 2025-06-16 Hyperling
|
||||||
# Tired of running fixes.sh to install extra packages. Bake them in!
|
# Tired of running fixes.sh to install extra packages. Bake them in!
|
||||||
|
|
||||||
FROM nextcloud:stable
|
FROM nextcloud:latest
|
||||||
|
|
||||||
# Cache System Dependencies
|
# Cache System Dependencies
|
||||||
RUN apt-get update && apt-get install -y sudo libmagickcore-7.q16-10-extra htop \
|
RUN apt-get update && apt-get install -y sudo libmagickcore-7.q16-10-extra htop \
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# 2026-06-11 Hyperling
|
||||||
|
# https://wiki.debian.org/InstallingProsody
|
||||||
|
# https://prosody.im/doc/configure
|
||||||
|
|
||||||
|
## Image ##
|
||||||
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
|
## Setup ##
|
||||||
|
# System Dependencies
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y prosody \
|
||||||
|
bash sudo htop
|
||||||
|
|
||||||
|
## Main ##
|
||||||
|
# Install + Run Website
|
||||||
|
WORKDIR /root
|
||||||
|
USER root
|
||||||
|
CMD tail -F /var/log/TBD
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# 2026-06-11 Hyperling
|
||||||
|
# Configuration for running a Prosody XMPP server.
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: prosody
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
network: host
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8013:80 # Production minified files served using NGINX.
|
||||||
|
- 1380:1380 # Development files with drafts served by Hugo Server.
|
||||||
|
environment:
|
||||||
|
- REPO=$REPO
|
||||||
|
- BRANCH=$BRANCH
|
||||||
|
- PROD=$PROD
|
||||||
|
- DEV=$DEV
|
||||||
|
healthcheck:
|
||||||
|
test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1
|
||||||
|
interval: 1m
|
||||||
|
timeout: 10s
|
||||||
|
retries: 2
|
||||||
|
start_period: 30s
|
||||||
|
volumes:
|
||||||
|
- ../../Volumes/Prosody/prosody:/etc/prosody
|
||||||
|
deploy:
|
||||||
|
mode: global
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: $CPU
|
||||||
|
memory: $MEM
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
COMPOSE_BAKE=true
|
||||||
Reference in New Issue
Block a user