Two file renames (docker/mclogs.ini -> docker/iblogs.ini, web/public/css/mclogs.css -> web/public/css/iblogs.css) plus the internal references that pointed at them (Dockerfile COPY directive, the linux user name in the container). Also catches the runtime identifier renames: env-var prefix MCLOGS_* -> IBLOGS_* (compose files), browser cookie name MCLOGS_SETTINGS -> IBLOGS_SETTINGS (web/public/js/log.js), production image tag ghcr.io/aternosorg/mclogs:2 -> ghcr.io/indifferentketchup/iblogs:2, and the README walk-through with the new branding. example.config.json branding strings (legal contact, mclo.gs frontend name) and visible UI text (taglines, meta descriptions) are deferred to a separate branding commit.
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
services:
|
|
web:
|
|
image: ghcr.io/indifferentketchup/iblogs:2
|
|
restart: always
|
|
ports:
|
|
# Expose HTTP (80) and HTTPS (443)
|
|
# Port 443/udp is required for HTTP/3 (QUIC)
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
environment:
|
|
# Set this to your domain (e.g., iblogs.example.com) to enable Auto-SSL.
|
|
# If running behind a proxy (Cloudflare/Nginx), set to ":80" to disable Auto-SSL.
|
|
SERVER_NAME: :80
|
|
|
|
IBLOGS_MONGODB_URL: mongodb://mongo:27017
|
|
IBLOGS_MONGODB_DATABASE: iblogs
|
|
|
|
# Optional IBLOGS configuration
|
|
# See README.md for full list of available options
|
|
# IBLOGS_FRONTEND_NAME: "iblogs"
|
|
|
|
volumes:
|
|
# For caddy cache (SSL certificates)
|
|
- web-data:/data
|
|
|
|
depends_on:
|
|
mongo:
|
|
condition: service_healthy
|
|
|
|
mongo:
|
|
image: mongo
|
|
restart: always
|
|
volumes:
|
|
- mongo-data:/data/db
|
|
|
|
healthcheck:
|
|
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 5s
|
|
|
|
volumes:
|
|
web-data:
|
|
mongo-data: |