Public Repository

Last pushed: 2 years ago
Short Description
MySQL 5.6、PHP 5.5、Nginx、Memcache based on stenote/docker-lemp
Full Description

docker-lemp-for-q2a

It is based on stenote's docker-lemp, with some missing modules (e.g. php5-ldap, libphp-phpmailer) for Question2Answer setup usage.

###Usage

docker run -d --name=q2a -h <host_name> \
  -v /path/to/www/:/var/www/ \
  -v /path/to/mysql:/var/lib/mysql \
  -p port_of_nginx:80 \
  -p port_of_sshd:22 \
  wyklq/q2a:latest

Login

SSHD

• user: root

• password: 123456

MySQL

  1. Initialize the DB
    $ mysql_install_db
    
Docker Pull Command
Owner
wyklq

Comments (2)
wyklq
3 years ago

No, I just save it for further usage with some useful reference info. You can go with original stenote/docker-lemp, which has dockerfile and ci.
To setup Q2a, please just prepare a folder (/path/to/www) in the host, and download q2a there. And prepare another folder for mysql db (/path/to/mysql). After that, starts the docker container. And run the mysql db init command to initialize the db. After that, just follow the installation instruction of q2a, focusing on db creation and q2a config.

cbayle
3 years ago

Couldn't make it work, any place with the Dockerfile ?