docker-entrypoint.sh 381 B

12345678910
  1. #!/bin/bash
  2. nginx
  3. chown -hR mediagoblin:www-data /var/lib/mediagoblin
  4. cd /srv/mediagoblin.example.org/mediagoblin/
  5. sudo -u mediagoblin bin/gmg dbupdate
  6. sudo -u mediagoblin bin/gmg adduser --username admin --password admin --email some@where.com
  7. sudo -u mediagoblin bin/gmg makeadmin admin
  8. sudo -u mediagoblin ./lazyserver.sh --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543