Install on container- how to access to server? help please

i follow instruction of install metasfresh based on container. https://docs.metasfresh.org/installation_collection/EN/How_do_I_setup_the_metasfresh_stack_using_Docker.html
I write my local host to access : 192.18.72.142
and the page doesn’t upload and i can’t access to metasfresh.
what i do

Hi @Aman_Slamaa

In order to debug your issue, it’s best you provide more infos:
a) what is the ip address of your docker-host which shall be reachable from your client PC where you run your browser
b) what is the output of docker ps?
c) can you post the contents of your docker-compose.yml?

Please note when posting output/configs here in the forum, it’s best to use a code-block

indent preformatted text by 4 spaces

This is necessary to check if your indentation in your docker-compose.yml is fine.

Cheers,
Julian.

Hi julian
it is my first time i install docker and metasfesh
a) i open web browser on same machine that i insatll metasfresh on it.
i write dockerhost: 172.17.0.1
b) the output of docker ps is:

c) the content of docker-compose.yml is:
> db:
> build: db
> restart: always
> volumes:
> - ./volumes/db/data:/var/lib/postgresql/data
> - ./volumes/db/log:/var/log/postgresql
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> environment:
> - METASFRESH_USERNAME=metasfresh
> - METASFRESH_PASSWORD=metasfresh
> - METASFRESH_DBNAME=metasfresh
> - DB_SYSPASS=System
> - POSTGRES_PASSWORD=ip2LmNzXX8p8iXg9lZTWEJ9524kQDbXFudB7LR03T-xK9fLweX3TLMkA2AYcEiaS
> app:
> build: app
> hostname: app
> links:
> - db:db
> - rabbitmq:rabbitmq
> - search:search
> expose:
> - “8282”
> - “61616”
> - “8788”
> restart: always
> volumes:
> - ./volumes/app/log:/opt/metasfresh/log:rw
> - ./volumes/app/heapdump:/opt/metasfresh/heapdump:rw
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> environment:
> - METASFRESH_HOME=/opt/metasfresh
> webapi:
> build: webapi
> links:
> - app:app
> - db:db
> - rabbitmq:rabbitmq
> - search:search
> expose:
> - “8789”
> # to access the webui-api directly
> # (eg. for debugging or connecting your app to the metasfresh api)
> # uncomment following port:
> #ports:
> #- “8080:8080”
> restart: always
> volumes:
> - ./volumes/webapi/log:/opt/metasfresh-webui-api/log:rw
> - ./volumes/webapi/heapdump:/opt/metasfresh-webui-api/heapdump:rw
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> webui:
> build: webui
> links:
> - webapi:webapi
> ports:
> - “80:80”
> - “443:443”
> restart: always
> volumes:
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> #uncomment and set to URL where metasfresh will be available from browsers
> #environment:
> #- WEBAPI_URL=http://192.168.72.142:8080
> rabbitmq:
> build: rabbitmq
> expose:
> - “5672”
> restart: always
> volumes:
> - ./volumes/rabbitmq/log:/var/log/rabbitmq/log
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> environment:
> RABBITMQ_DEFAULT_USER: “metasfresh”
> RABBITMQ_DEFAULT_PASS: “metasfresh”
> RABBITMQ_DEFAULT_VHOST: “/”
> search:
> build: search
> ulimits:
> memlock:
> soft: -1
> hard: -1
> nofile:
> soft: 65536
> hard: 65536
> cap_add:
> - IPC_LOCK
> # to access the search api directly
> # (e.g. if you did docker-compose up search to have the deachboard with your locally running metasfresh services)
> # uncomment following ports:
> # ports:
> # - “9200:9200”
> # - “9300:9300”
> volumes:
> - ./volumes/search/data:/usr/share/elasticsearch/data
> - /etc/localtime:/etc/localtime:ro
> - /etc/timezone:/etc/timezone:ro
> environment:
> - “ES_JAVA_OPTS=-Xms128M -Xmx256m”
> restart: always