docker-xenforo icon indicating copy to clipboard operation
docker-xenforo copied to clipboard

On which port do I access Xenforo with the example compose file given?

Open wronda opened this issue 5 years ago • 4 comments

Ah think I found it :) Was serving a default PHP.info page. In your example folder the docker-compose file doesn't include mysql. Is that correct?

wronda avatar Jan 15 '20 20:01 wronda

Yes, the example doesn't include MySQL or XF source (that would be illegal).

The php_info() will be available at a few different URLs:

  • http://caddy.local.xfrocks.com caddy -> php-fpm
  • https://caddy.local.xfrocks.com caddy -> php-fpm
  • http://nginx.local.xfrocks.com nginx -> php-fpm
  • http://apache.local.xfrocks.com php-apache

daohoangson avatar Jan 16 '20 02:01 daohoangson

Just put in the config.php file as normal.

daohoangson avatar Jan 16 '20 09:01 daohoangson

No, pdo_mysql extension is not installed because XF doesn't use it. The list of installed extension is available here https://github.com/xfrocks/docker-xenforo

daohoangson avatar Jan 17 '20 03:01 daohoangson

The nginx image generates its own configuration using this template:

  • https://github.com/xfrocks/docker-xenforo/blob/master/nginx/templates/nginx.conf
  • https://github.com/xfrocks/docker-xenforo/blob/master/nginx/templates/default.conf

It does not use the nginx default conf files FYI.

daohoangson avatar Jan 17 '20 08:01 daohoangson