It is based on stenote's docker-lemp, with some missing modules (e.g. php5-ldap, libphp-phpmailer) for Question2Answer setup 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
• user: root
• password: 123456
- Initialize the DB
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.
Couldn't make it work, any place with the Dockerfile ?