mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add basic HTTP API
This commit is contained in:
parent
e831ef5921
commit
944f0093a9
13 changed files with 238 additions and 51 deletions
|
|
@ -1,9 +1,10 @@
|
|||
version: '3'
|
||||
services:
|
||||
bot:
|
||||
build:
|
||||
context: src/
|
||||
dockerfile: bot.Dockerfile
|
||||
build: src/
|
||||
entrypoint:
|
||||
- python
|
||||
- bot_main.py
|
||||
depends_on:
|
||||
- db
|
||||
- influx
|
||||
|
|
@ -11,6 +12,16 @@ services:
|
|||
- CLIENT_ID
|
||||
- TOKEN
|
||||
restart: always
|
||||
api:
|
||||
build: src/
|
||||
entrypoint:
|
||||
- python
|
||||
- api_main.py
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
ports:
|
||||
- "2939:8080"
|
||||
db:
|
||||
image: postgres:alpine
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue