bfile/resource
blek 55b299b524
print warning in resourceD if no resources are specified and report number of resources on startup
2023-12-14 21:04:23 +10:00
..
.air.toml add air to resourceD 2023-12-14 21:04:21 +10:00
.gitignore add air to resourceD 2023-12-14 21:04:21 +10:00
Dockerfile.prod deploy resourced to production dockerfile 2023-12-14 21:04:22 +10:00
README.md init repo 2023-12-14 21:04:17 +10:00
api_ref.swagger.yml add swagger reference 2023-12-14 21:04:21 +10:00
go.mod add option to configure min size to cache proxy 2023-12-14 21:04:21 +10:00
go.sum add option to configure min size to cache proxy 2023-12-14 21:04:21 +10:00
main.go print warning in resourceD if no resources are specified and report number of resources on startup 2023-12-14 21:04:23 +10:00
resourced.toml.example fix wrong symbols in the example config 2023-12-14 21:04:21 +10:00

README.md

resourceD

A simple microservice for serving resources

Building

go build .

Running

Either run it the normal way via the provided docker compose file, or go run ..

Also dont forget to create resourced.toml

Configuration

The file resourced.toml.example serves as a both an example and reference, since it has a lot of comments.