refactor(api)!: remove the standalone API server (#6614)
This commit is contained in:
1 parent
5c72ced2fe
commit
220d5e6970
99 files changed
+240
-4133
No files matched your search
@@ -7,7 +7,6 @@ x-common-config: &common-config
|
||||
environment:
|
||||
NANOBOT_DOCKER_BOOTSTRAP: "1"
|
||||
NANOBOT_WEB_TOKEN: ${NANOBOT_WEB_TOKEN:-}
|
||||
NANOBOT_API_KEY: ${NANOBOT_API_KEY:-}
|
||||
volumes:
|
||||
- ~/.nanobot:/home/nanobot/.nanobot
|
||||
cap_drop:
|
||||
@@ -40,23 +39,6 @@ services:
|
||||
cpus: "0.25"
|
||||
memory: 256M
|
||||
|
||||
nanobot-api:
|
||||
container_name: nanobot-api
|
||||
<<: *common-config
|
||||
command:
|
||||
["serve", "--host", "0.0.0.0", "-w", "/home/nanobot/.nanobot/api-workspace"]
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 127.0.0.1:8900:8900
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1"
|
||||
memory: 1G
|
||||
reservations:
|
||||
cpus: "0.25"
|
||||
memory: 256M
|
||||
|
||||
nanobot-cli:
|
||||
<<: *common-config
|
||||
profiles:
|
||||
|
||||
Reference in new issue
Block a user