mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
Add API container to Composefile
This commit is contained in:
parent
53b3378901
commit
5f9d1cd16a
1 changed files with 14 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ services:
|
||||||
- "./pluralkit.conf:/app/pluralkit.conf:ro"
|
- "./pluralkit.conf:/app/pluralkit.conf:ro"
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
|
restart: always
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
entrypoint: ["dotnet", "run", "--project", "PluralKit.Web"]
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.Web"]
|
||||||
|
|
@ -18,5 +19,17 @@ services:
|
||||||
- db
|
- db
|
||||||
ports:
|
ports:
|
||||||
- 2837:80
|
- 2837:80
|
||||||
|
restart: always
|
||||||
|
api:
|
||||||
|
build: .
|
||||||
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.API"]
|
||||||
|
environment:
|
||||||
|
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
|
||||||
|
links:
|
||||||
|
- db
|
||||||
|
ports:
|
||||||
|
- 2838:80
|
||||||
|
restart: always
|
||||||
db:
|
db:
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
|
restart: always
|
||||||
Loading…
Add table
Add a link
Reference in a new issue