My apologies. Need to correct the syntax for the Nginx port 8090.

Signed-off-by: Michael Yuan <michael@secondstate.io>
This commit is contained in:
Michael Yuan 2022-12-12 11:27:45 +00:00
parent fdda5c339a
commit 624a3709ca
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ services:
frontend:
image: nginx:alpine
ports:
- 8090:8090
- 8090:80
volumes:
- ./frontend:/usr/share/nginx/html

View File

@ -39,7 +39,7 @@ services:
frontend:
image: nginx:alpine
ports:
- 8090:8090
- 8090:80
volumes:
- ./frontend:/usr/share/nginx/html
@ -83,7 +83,7 @@ $ docker compose ps
NAME COMMAND SERVICE STATUS PORTS
wasmedge-mysql-nginx-backend-1 "order_demo_service.…" backend running 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp
wasmedge-mysql-nginx-db-1 "docker-entrypoint.s…" db running 3306/tcp
wasmedge-mysql-nginx-frontend-1 "/docker-entrypoint.…" frontend running 0.0.0.0:8090->8090/tcp, :::8090->8090/tcp
wasmedge-mysql-nginx-frontend-1 "/docker-entrypoint.…" frontend running 0.0.0.0:8090->80/tcp, :::8090->80/tcp
```
After the application starts, go to `http://localhost:8090` in your web browser to display the web frontend.

View File

@ -2,7 +2,7 @@ services:
frontend:
image: nginx:alpine
ports:
- 8090:8090
- 8090:80
volumes:
- ./frontend:/usr/share/nginx/html