White page when using official docker container

White page when using official docker container

by Tim V. -
Number of replies: 0

Hi guys,

I'm trying to get the Moodle Mobile app running in docker. I'm using the official docker container (https://hub.docker.com/r/moodlehq/moodlemobile2). What I've done is, I simply pulled the container from the docker hub and finally started the container:

docker pull moodlehq/moodlemobile2
cls && docker run -p 8100:8100 moodlehq/moodlemobile2

I'm finally getting the following output:

> moodlemobile@3.8.0 ionic:serve /app
> npx gulp watch & npx ionic-app-scripts serve -b --devapp --address=0.0.0.0

[09:40:44] Using gulpfile /app/gulpfile.js
[09:40:44] Starting 'watch'...
[09:40:46]  ionic-app-scripts 3.2.2
[09:40:46]  watch started ...
[09:40:46]  build dev started ...
[09:40:46]  clean started ...
[09:40:46]  clean finished in 1 ms
[09:40:46]  copy started ...
[09:40:47]  deeplinks started ...
[09:40:48]  deeplinks finished in 1.93 s
[09:40:48]  transpile started ...
[09:41:10]  transpile finished in 21.17 s
[09:41:10]  preprocess started ...
[09:41:10]  preprocess finished in 1 ms
[09:41:10]  webpack started ...
[09:41:10]  copy finished in 24.06 s
[09:41:36]  webpack finished in 26.80 s
[09:41:36]  sass started ...
[09:41:42]  sass finished in 5.95 s
[09:41:42]  postprocess started ...
[09:41:42]  postprocess finished in 67 ms
[09:41:42]  lint started ...
[09:41:42]  build dev finished in 56.88 s
[09:41:46]  dev server running: http://localhost:8100/

[09:42:08]  tslint: src/providers/utils/url.ts, line: 186
            trailing whitespace

     L187:  if (canUseTokenPluginFile) {

[09:42:08]  lint finished in 25.27 s

Unfortunately, when I try to access http://localhost:8100 I'm getting a white page only. In 2016/2017 there was a discussion (https://moodle.org/mod/forum/discuss.php?d=342928) about the white screen but I'm not sure the correct reason (maybe the missing siteurl). But how can I specify the siteurl for the docker container? Do I need to create my own docker container? Instead of the white screen I expected to see a input field (like https://stackoverrun.com/de/q/11157241). Any ideas/suggestions?

Average of ratings: -