22 lines
574 B
YAML
22 lines
574 B
YAML
version: "3"
|
|
services:
|
|
bot:
|
|
build: .
|
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.Bot"]
|
|
environment:
|
|
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
|
|
volumes:
|
|
- "./pluralkit.conf:/app/pluralkit.conf:ro"
|
|
links:
|
|
- db
|
|
web:
|
|
build: .
|
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.Web"]
|
|
environment:
|
|
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
|
|
links:
|
|
- db
|
|
ports:
|
|
- 2837:80
|
|
db:
|
|
image: postgres:alpine |