Container for a private MediaGoblin image/video sharing server.
Go to file
Dan Helfman 83231431e6 Noting that it's a private server. 2018-01-20 20:12:12 -08:00
scripts Add convenience scripts for build and push of the Docker image. 2017-11-05 14:03:32 -08:00
Dockerfile Remove expose port 443, which isn't used. 2018-01-20 15:43:07 -08:00
README.md Noting that it's a private server. 2018-01-20 20:12:12 -08:00
mediagoblin_local.ini.template Don't transcode video if it's in a common format browser can play. 2017-12-15 22:48:47 -08:00
nginx.conf Initial import. 2017-09-30 23:28:49 -07:00
run.sh Waiting for database to come up. 2017-10-21 22:58:16 -07:00
uwsgi.yaml Initial import. 2017-09-30 23:28:49 -07:00
wait-for Waiting for database to come up. 2017-10-21 22:58:16 -07:00

README.md

MediaGoblin

A basic container for a private MediaGoblin media server (https://mediagoblin.org/), including Nginx and uWSGI. Assumes a separate PostgreSQL database for persistence, and an email relay host for sending email notifications.

Source at https://projects.torsion.org/witten/mediagoblin-docker

Environment variables

  • NOTIFICATION_EMAIL: From address for MediaGoblin notification emails.
  • EMAIL_RELAY_HOST: Hostname used to send outgoing notification emails. Since MediaGoblin isn't terribly configurable as an email client, it's recommended that this "host" is a mail relay like https://hub.docker.com/r/alterrebe/postfix-relay/.
  • DATABASE_URL: Connection string for database to use for persistence, including credentials. See example below.

Volumes

  • /app/user_dev: Location to store user media uploads.

Ports

Example

docker run --detach --name=mediagoblin \
    --env NOTIFICATION_EMAIL=media@example.org \
    --env EMAIL_RELAY_HOST=relay.example.org \
    --env DATABASE_URL=postgresql://mediagoblin:password@database.example.org/mediagoblin \
    --volume /var/lib/mediagoblin/user_dev:/app/user_dev \
    --publish 80:80 \
    witten/mediagoblin:latest