mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-08 23:36:18 +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>
|
- :octocat: <https://github.com/vimagick/dockerfiles>
|
||||||
- :beetle: <https://github.com/vimagick/dockerfiles/issues>
|
- :beetle: <https://github.com/vimagick/dockerfiles/issues>
|
||||||
- :book: <https://github.com/vimagick/dockerfiles/wiki>
|
- :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/?ref=6821947)
|
[](https://www.vultr.com/?ref=6821947)
|
||||||
|
|
||||||
|
@ -85,7 +85,9 @@ ENV MG_MAIL admin@easypi.info
|
|||||||
CMD set -xe \
|
CMD set -xe \
|
||||||
&& sudo nginx \
|
&& sudo nginx \
|
||||||
&& sudo chown -hR mediagoblin:www-data /var/lib/mediagoblin \
|
&& 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 dbupdate; \
|
||||||
&& bin/gmg makeadmin "${MG_USER}" \
|
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
|
&& ./lazyserver.sh --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543
|
||||||
|
Loading…
x
Reference in New Issue
Block a user