LINE DC BOT AWARDS 2024 提出作品 投薬くん(とうやくん)
- Mac OS Sonoma 14.4(動作確認済み)
- Go
- Gin
- Python
- FastAPI
- NGINX
- Docker
- docker-compose
- Clone this repository
git clone [email protected]:[email protected]:GoRuGoo/fib_api.git
- Build
docker compose up -d
- Adding a self-signed certificate
cd reverseproxy
mkdir key
cd key
brew install mkcert
mkcert -install
mkcert touyakun.com
mkcert ai.touyakun.com
- Add to /etc/hosts(Not necessary if you use cURL's "--resolve" option when sending a request)
127.0.1 touyakun.com
- Build & start container
docker compose up -d
- Access
curl -X GET -H "Content-Type application/json" "https://touyakun.com"