You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
step 1 config the enviroment of project in the Dockerfile with the following variable:
ENV_API (local, development, staging, production,... with each value, need to create a json config file in config folder for e.g ENV_API = local, so json config file is config/local.json)
SSN_FRONTEND_HOST is the host of client using this api server for cors
SSN_API_DIR the base folder of this project
step 2 build docker
$ git clone https://github.com/dungvan/soccer-social-network-api
$ cd soccer-social-network-api
$ docker-compose build
$ docker-compose up
open ngrok for local development, export the minio server to internet
waiting for ngrok export successfully, copy the endpoint which ngrok generate to soccer-social-network-api/config/local.json, replace to value of endpoint of objectstorage