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.
33 lines
606 B
YAML
33 lines
606 B
YAML
name: "iblogs"
|
|
services:
|
|
web:
|
|
build:
|
|
context: ..
|
|
dockerfile: ./Dockerfile
|
|
environment:
|
|
- IBLOGS_WORKER_REQUESTS=1
|
|
- FRANKENPHP_WORKERS=4
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ../:/app
|
|
- ./dev.ini:/usr/local/etc/php/conf.d/dev.ini
|
|
user: root
|
|
depends_on:
|
|
mongo:
|
|
condition: service_healthy
|
|
|
|
mongo:
|
|
image: mongo
|
|
volumes:
|
|
- mongo:/data/db
|
|
healthcheck:
|
|
test: [ "CMD", "mongosh", "--eval", "db.adminCommand('ping')" ]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
mongo:
|