Installation Metasfresh

Yesterday I tried to install Metasfresh on ubunte 20.04 (docker). It was the second try on a fresh server because the first time did not go smooth.
Everything went wel till the last command “docker-compose up -d”.

after a few lines of correct start up I became this one “Creating metasfresh-docker_webui_1 … error”
“ERROR: for webui Cannot create container for service webui: invalid mode: 8080”

What can I do already changed some things in the compose file:

webui:
build: webui
links:
- webapi:webapi
ports:
- “8080:80”
- “8443:443”
restart: always
volumes:

Is there something outside docker what needs to be set?

Regards Kees

Hello,
why you changes des ports?
Only you change the

#environment:
 #- WEBAPI_URL=http://beispiel.com:8080

Best regards
Michael

I changed the ports back, but that didn’t work out

webui:

  • build: webui*
  • links:*
    • webapi:webapi*
  • ports:*
    • “80:80”*
    • “443:443”*
  • restart: always*

after docker-compose up -d I get the message below

Creating metasfresh-docker_webui_1 … error

ERROR: for metasfresh-docker_webui_1 Cannot create container for service webui: invalid mode: 8080

ERROR: for webui Cannot create container for service webui: invalid mode: 8080
ERROR: Encountered errors while bringing up the project.

Hy,
im not a Docker Expert.
Have you install the Computer as virtual machine (VM) oder a LXC Container?
Have you set the correctly timezone?

Regards
Michael

I got a step further, put back the # in front of -WEBAPI_url.
after that it started correct but the I became a White landing page :slight_smile:
I found a solution of that by changing the config.js that is what I am trying now.