add: API server(#422)
Add an example of api server so that devs can quickly get up a bot running along with its api
This commit is contained in:
committed by
GitHub
parent
d51c508b40
commit
a86deb2675
13
examples/api_server/docker-compose.yml
Normal file
13
examples/api_server/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
backend:
|
||||
container_name: embedchain_api
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file:
|
||||
- variables.env
|
||||
ports:
|
||||
- "5000:5000"
|
||||
Reference in New Issue
Block a user