This is a backend API server of Casty project written in go!
You can find API Documentations on Postman
You should pass your configuration config.yml file to container to run!
app:
version: "0.1-dev"
debug: true
env: "dev"
grpc:
host: "localhost"
port: 55283
http:
access_control_allow_origin: "*"
secrets:
sentry_dsn: "" # optional
hcaptcha_secret: "" # required if youre using this project with dashboard
storage_path: "/storage-volume-path"
grpc.host and grpc.port are the gRPC.server ip address and port that you should have! Casty gRPC.server
secrets.hcaptcha_secret is hcaptcha secret key that you should set up on hcaptcha admin panel!
for more information about hcaptcha click here
You're ready to Go!
$ docker volume create casty-storage
$ docker run -dp 9002:9002 -v casty-storage:/{your-storage-path-in-config.yml-file} -v $PWD/config.yml:/code/config.yml castylab/api:<version>|latest
Thank you for considering contributing to this project!
Content type
Image
Digest
Size
387.7 MB
Last updated
over 5 years ago
docker pull castylab/api