A lightweight web app project to test an RPC endpoint
173
Create the following docker-compose.yml to include webapp and api:
version: '3.7'
services:
webapp:
image: desholmes/webapp-rpc:0.1.0
ports:
- 3000:3000
environment:
- PORT=3000
depends_on:
- api
api:
image: desholmes/api-rpc:0.1.0
ports:
- 5000:5000
environment:
- PORT=5000
Run docker-compose up
Success:
http://localhost:5000 into the Entrypoint fieldTestSuccess resultFail:
https://bbc.co.uk into the Entrypoint fieldTestError resultContent type
Image
Digest
Size
40.4 MB
Last updated
over 5 years ago
docker pull desholmes/webapp-rpc:0.1.0