Sign inSign up

meedan/checkdesk

By meedan

Updated almost 11 years ago

A platform for collaborative social media verification http://checkdesk.org

Image
0

2.6K

meedan/checkdesk repository overview

Running Checkdesk from a Docker Container

Start by pulling the containers we'll use...

docker pull mysql:5.5
docker pull meedan/checkdesk:latest

Before you start

First get a MySQL container up and running

Please follow the official instructions for the mysql:5.5 instance at https://hub.docker.com/_/mysql/. Be sure to pay attention to the "Where to Store Data" portion of the instructions.

This docker command should work well:

docker run -d --name mysql -v /opt/checkdesk/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=root mysql:5.5

If you run into any issues, use docker ps to make sure the mysql container is running and docker logs mysql to diagnose a failed start.

Now for the Checkdesk container...

First setup a few directories to store the files and database backups for Checkesk:

mkdir -p /opt/checkdesk/files
mkdir -p /opt/checkdesk/dbbackups

Then run the docker image...

docker run -d --name checkdesk \
    -v /opt/checkdesk/files:/var/www/checkdesk/shared/checkdesk/files \
    -v /opt/checkdesk/dbbackups:/root/drush-backups  \
    --link mysql:mysql  \
    -p 8080:80 \
    -e DOMAINS=checkdesk \
    -e CDDB=checkdesk  \
    -e CDDBPASS=checkdesk  \
    -e CDDBHOST=mysql  \
    -e ROOTDBPASS=root \
    meedan/checkdesk:latest

The database $CDDB with db user $CDDB and password $CDDBPASS will get created the first time the container is run. It uses $ROOTDBPASS to create the drupal and checkdesk tables.

You will need to add a corresponding entry for $DOMAINS to your /etc/hosts file...

127.0.0.1  checkdesk

Now browse to http://checkdesk:8080/install.php and begin the installation of the Drupal instance.

Please refer to the Checkdesk installation instruction beginning with step 5: https://github.com/meedan/checkdesk#installation

If you have any difficulties with this image, please let us know by generating a ticket at https://github.com/meedan/checkdesk/issues

Best of luck using Checkdesk.

Tag summary

Content type

Image

Digest

sha256:8449ebd8b

Size

728.9 MB

Last updated

almost 11 years ago

docker pull meedan/checkdesk