0e549cad46
Original PHP source rsync'd from production server (slot-ss.com) on 2026-04-27. Excluded from import: - data/editor (74GB user uploads), data/file (8.5GB attachments) - data/member_image, vendor/, db100up/, caches/sessions/logs/tmp Includes: - 11,636 files, ~206MB source code (gnuboard5 v5.6.6, Eyoom builder, YoungCart 4) - 28 plugins (bacara, chatbot, cron, swiunApi, sns, sms5, ...) - Active theme: eb4_maga_005 (Eyoom magazine layout) - Local Docker dev stack (PHP 7.4 + Apache + Redis + MariaDB) under docker/ - PostgreSQL migration setup (pgloader configs) under db/ - Architecture/migration docs under docs/ Single non-source patch: src/config.php now reads G5_DOMAIN_OVERRIDE env var so the local Docker stack can serve at http://localhost:8088 without touching the production constant. Falls back to https://slot-ss.com when unset.
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
version: '3.8'
|
|
|
|
# Local replica of slot-ss.com for analysis & login verification.
|
|
# Uses the standalone `slot-mariadb` container (started by the migration script)
|
|
# at host port 33306. Visit http://localhost:8088 after `docker-compose up`.
|
|
|
|
services:
|
|
php:
|
|
image: php:7.4-apache
|
|
container_name: slot-php
|
|
ports:
|
|
- "8088:80"
|
|
volumes:
|
|
- ../src:/var/www/html
|
|
- ./dbconfig.local.php:/var/www/html/data/dbconfig.php:ro
|
|
- ./php.ini:/usr/local/etc/php/conf.d/zz-custom.ini:ro
|
|
- ./apache-vhost.conf:/etc/apache2/sites-available/000-default.conf:ro
|
|
- ./entrypoint.sh:/usr/local/bin/slot-entrypoint.sh:ro
|
|
entrypoint: ["/bin/bash", "/usr/local/bin/slot-entrypoint.sh"]
|
|
environment:
|
|
DB_HOST: slot-mariadb
|
|
DB_USER: root
|
|
DB_PASS: rootpass
|
|
DB_NAME: inspection2
|
|
G5_DOMAIN_OVERRIDE: "http://localhost:8088"
|
|
networks:
|
|
- slot-net
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- redis
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: slot-redis
|
|
networks:
|
|
- slot-net
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
slot-net:
|
|
external: true
|