PluralKit/docker-compose.yml

35 lines
895 B
YAML
Raw Normal View History

2019-04-19 18:48:37 +00:00
version: "3"
2018-07-11 22:47:44 +00:00
services:
bot:
2019-04-19 18:48:37 +00:00
build: .
2019-05-08 19:16:41 +00:00
entrypoint: ["dotnet", "run", "--project", "PluralKit.Bot"]
2019-03-07 15:29:46 +00:00
environment:
2019-05-08 19:16:41 +00:00
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
2019-06-30 23:04:35 +00:00
volumes:
- "./pluralkit.conf:/app/pluralkit.conf:ro"
2019-04-19 18:48:37 +00:00
links:
- db
2019-07-10 10:37:47 +00:00
restart: always
2019-05-08 19:16:41 +00:00
web:
build: .
entrypoint: ["dotnet", "run", "--project", "PluralKit.Web"]
environment:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
links:
- db
2019-05-08 19:39:30 +00:00
ports:
- 2837:80
2019-07-10 10:37:47 +00:00
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
2018-07-11 22:47:44 +00:00
db:
2019-07-10 10:37:47 +00:00
image: postgres:alpine
restart: always