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