Git Product home page Git Product logo

docker-xenforo's Introduction

docker pull xfrocks/xenforo

Docker containers to develop and run XenForo.

CircleCI Docker

Installed extensions (other than the default ones):

  • apcu
  • exif
  • gd
  • gmp
  • imagick
  • memcached
  • mysqli
  • opcache
  • pcntl
  • redis
  • soap
  • sockets
  • xdebug (installed but disabled on php-fpm)
  • zip

List of all extensions on php-fpm (according to php -m): apcu Core ctype curl date dom exif fileinfo filter ftp gd gmp hash iconv igbinary json libxml mbstring memcached mysqli mysqlnd openssl pcntl pcre PDO pdo_sqlite Phar posix readline redis Reflection session SimpleXML soap sockets sodium SPL sqlite3 standard tokenizer xml xmlreader xmlwriter Zend OPcache zip zlib Zend OPcache

Development

Sample docker-compose.yml:

version: '2'

services:
  php:
    image: xfrocks/xenforo:php-apache
    environment:
      - VIRTUAL_HOST=dev.local.xfrocks.com
    expose:
      - "80"
    links:
      - mysql
    volumes:
      - .:/var/www/html/

  mysql:
    image: mysql
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
      MYSQL_DATABASE: 'database'
      MYSQL_USER: 'user'
      MYSQL_PASSWORD: 'password'
    expose:
      - "3306"
    volumes:
      - ./internal_data/mysql:/var/lib/mysql

  nginx-proxy:
    image: jwilder/nginx-proxy
    ports:
      - "80:80"
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro

Friendly URLs

The apache image doesn't have mod_rewrite enabled, use FallbackResource in .htaccess if you need XenForo's friendly URLs:

FallbackResource /index.php

Locale

The apache image has locales-all installed for easy development but it's not included in the fpm image. Click here for installation instructions.

Production

It's recommended to use the fpm image with nginx for better performance in production.

docker-xenforo's People

Contributors

daohoangson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.