mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
bot: .net rewrite skeleton
This commit is contained in:
parent
b5d1b87a72
commit
e7fa5625b6
40 changed files with 770 additions and 3980 deletions
|
|
@ -1,38 +1,11 @@
|
|||
version: '3'
|
||||
version: "3"
|
||||
services:
|
||||
bot:
|
||||
build: src/
|
||||
entrypoint:
|
||||
- python
|
||||
- bot_main.py
|
||||
volumes:
|
||||
- "./pluralkit.conf:/app/pluralkit.conf:ro"
|
||||
build: .
|
||||
environment:
|
||||
- "DATABASE_URI=postgres://postgres:postgres@db:5432/postgres"
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
api:
|
||||
build: src/
|
||||
entrypoint:
|
||||
- python
|
||||
- api_main.py
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
ports:
|
||||
- "2939:8080"
|
||||
environment:
|
||||
- "DATABASE_URI=postgres://postgres:postgres@db:5432/postgres"
|
||||
- "CLIENT_ID"
|
||||
- "INVITE_CLIENT_ID_OVERRIDE"
|
||||
- "CLIENT_SECRET"
|
||||
- "REDIRECT_URI"
|
||||
- PK_TOKEN
|
||||
- "PK_DATABASE_URI=Host=db;Username=postgres;Password=postgres;Database=postgres"
|
||||
links:
|
||||
- db
|
||||
db:
|
||||
image: postgres:alpine
|
||||
volumes:
|
||||
- "db_data:/var/lib/postgresql/data"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
image: postgres:alpine
|
||||
Loading…
Add table
Add a link
Reference in a new issue