/mediagoblin-docker

Docker image for MediaGoblin, adapted from https://notabug.org/dachary/mediagoblin-docker

Primary LanguageDockerfileGNU Affero General Public License v3.0AGPL-3.0

Dockerized http://mediagoblin.org/

CircleCI Docker Pulls License: AGPL v3

QuickStart

docker run \
  --tty \
  --detach \
  --publish 8080:6543 \
  --name mediagoblin \
  mtlynch/mediagoblin

MediaGoblin will be available at http://localhost:8080

The default user is admin, password admin.

Run MediaGoblin with persistent state

To preserve data across container executions, run the following:

mkdir -p persist/srv/mediagoblin

docker run \
  --tty \
  --detach \
  --publish 8080:6543 \
  --volume "${PWD}/persist/srv/mediagoblin:/var/lib/mediagoblin" \
  --name mediagoblin \
  mtlynch/mediagoblin

MediaGoblin will be available at http://localhost:8080

The default user is admin, password admin.

MediaGoblin will save data to ./persist/srv/mediagoblin

Build container from source

To rebuild this container, copy this repository locally and run:

docker build --tag mediagoblin .