mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
fix mediagoblin
This commit is contained in:
parent
ee811a6574
commit
92e8aa9792
@ -8,7 +8,8 @@ A collection of delicious docker recipes.
|
||||
- :octocat: <https://github.com/vimagick/dockerfiles>
|
||||
- :beetle: <https://github.com/vimagick/dockerfiles/issues>
|
||||
- :book: <https://github.com/vimagick/dockerfiles/wiki>
|
||||
- :whale: <https://hub.docker.com/u/vimagick/>
|
||||
- :whale: <https://hub.docker.com/u/vimagick/> (x86)
|
||||
- :whale: <https://hub.docker.com/u/easypi/> (arm)
|
||||
|
||||
[![](https://www.vultr.com/media/badge_onwhite.png)](https://www.vultr.com/?ref=6821947)
|
||||
|
||||
|
@ -85,7 +85,9 @@ ENV MG_MAIL admin@easypi.info
|
||||
CMD set -xe \
|
||||
&& sudo nginx \
|
||||
&& sudo chown -hR mediagoblin:www-data /var/lib/mediagoblin \
|
||||
&& bin/gmg dbupdate \
|
||||
&& bin/gmg adduser --username "${MG_USER}" --password "${MG_PASS}" --email "${MG_MAIL}" \
|
||||
&& bin/gmg makeadmin "${MG_USER}" \
|
||||
&& { \
|
||||
bin/gmg dbupdate; \
|
||||
bin/gmg adduser --username "${MG_USER}" --password "${MG_PASS}" --email "${MG_MAIL}"; \
|
||||
bin/gmg makeadmin "${MG_USER}"; \
|
||||
} \
|
||||
&& ./lazyserver.sh --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543
|
||||
|
Loading…
Reference in New Issue
Block a user