Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ppxl/silly-dogu
A containerized go application for the Cloudogu EcoSystem to echo back request values
https://github.com/ppxl/silly-dogu
Last synced: about 1 month ago
JSON representation
A containerized go application for the Cloudogu EcoSystem to echo back request values
- Host: GitHub
- URL: https://github.com/ppxl/silly-dogu
- Owner: ppxl
- License: agpl-3.0
- Created: 2024-09-16T14:23:07.000Z (about 2 months ago)
- Default Branch: develop
- Last Pushed: 2024-09-16T15:27:54.000Z (about 2 months ago)
- Last Synced: 2024-09-17T18:48:49.071Z (about 2 months ago)
- Language: Makefile
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# silly-dogu
A containerized go application for the Cloudogu EcoSystem to echo back request valuesBuild this within a local [Cloudogu EcoSystem](https://github.com/cloudogu/ecosystem) with
```bash
git clone [email protected]:ppxl/silly-dogu.git
cd silly-dogu
cesapp build .
cesapp start silly-dogu
```Once started you can observe some HTTP echoing upon curl requests like so:
```
curl -k https://192.168.56.2/silly-dogu/hey-you
Echo: /silly-dogu/hey-you
```Also observe the alternative service route `/schmilly`:
```
curl -I -k https://192.168.56.2/schmilly/hello
HTTP/2 301
server: nginx/1.26.1
date: Mon, 16 Sep 2024 15:17:37 GMT
content-type: text/html; charset=utf-8
location: /silly-dogu/hello
```Furthermore, you can observe an additional nginx route in the nginx container:
```bash
docker exec -it nginx cat /var/nginx/conf.d/app.conf
...
location /schmilly {
proxy_pass http://172.18.0.16:8080//silly-dogu/;
}
location /silly-dogu {
proxy_pass http://172.18.0.16:8080;
}
...
```