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-08-12 00:44:48 +00:00
|
|
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.Bot"]
|
2019-03-07 15:29:46 +00:00
|
|
|
environment:
|
2019-08-12 00:34:59 +00:00
|
|
|
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
|
2019-07-16 21:34:22 +00:00
|
|
|
- "PluralKit:InfluxUrl=http://influx:8086"
|
2019-07-16 21:47:00 +00:00
|
|
|
- "PluralKit:InfluxDb=pluralkit"
|
2019-07-18 15:13:42 +00:00
|
|
|
- "PluralKit:LogDir=/var/log/pluralkit"
|
2019-06-30 23:04:35 +00:00
|
|
|
volumes:
|
|
|
|
- "./pluralkit.conf:/app/pluralkit.conf:ro"
|
2019-07-18 15:13:42 +00:00
|
|
|
- "/var/log/pluralkit:/var/log/pluralkit"
|
2019-04-19 18:48:37 +00:00
|
|
|
links:
|
|
|
|
- db
|
2019-07-16 21:34:22 +00:00
|
|
|
- influx
|
2019-07-10 10:37:47 +00:00
|
|
|
restart: always
|
2019-05-08 19:16:41 +00:00
|
|
|
web:
|
|
|
|
build: .
|
2019-08-12 00:44:48 +00:00
|
|
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.Web"]
|
2019-05-08 19:16:41 +00:00
|
|
|
environment:
|
2019-08-12 00:34:59 +00:00
|
|
|
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
|
2019-05-08 19:16:41 +00:00
|
|
|
links:
|
|
|
|
- db
|
2019-05-08 19:39:30 +00:00
|
|
|
ports:
|
2019-07-15 17:08:47 +00:00
|
|
|
- 2837:5000
|
2019-07-10 10:37:47 +00:00
|
|
|
restart: always
|
|
|
|
api:
|
|
|
|
build: .
|
2019-08-12 00:44:48 +00:00
|
|
|
entrypoint: ["dotnet", "run", "--project", "PluralKit.API"]
|
2019-07-10 10:37:47 +00:00
|
|
|
environment:
|
2019-08-12 00:34:59 +00:00
|
|
|
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
|
2019-07-10 10:37:47 +00:00
|
|
|
links:
|
|
|
|
- db
|
|
|
|
ports:
|
2019-07-15 17:08:47 +00:00
|
|
|
- 2838:5000
|
2019-07-10 10:37:47 +00:00
|
|
|
restart: always
|
2018-07-11 22:47:44 +00:00
|
|
|
db:
|
2019-07-10 10:37:47 +00:00
|
|
|
image: postgres:alpine
|
2019-07-15 14:51:43 +00:00
|
|
|
volumes:
|
|
|
|
- "db_data:/var/lib/postgresql/data"
|
|
|
|
restart: always
|
2019-08-02 22:27:25 +00:00
|
|
|
command: ["postgres", "-c", "max-connections=1000"]
|
2019-07-16 21:34:22 +00:00
|
|
|
influx:
|
|
|
|
image: influxdb:alpine
|
|
|
|
volumes:
|
|
|
|
- "influx_data:/var/lib/influxdb"
|
|
|
|
ports:
|
|
|
|
- 2839:8086
|
|
|
|
restart: always
|
2019-07-15 14:51:43 +00:00
|
|
|
|
|
|
|
volumes:
|
2019-07-16 21:34:22 +00:00
|
|
|
db_data:
|
2019-08-02 22:27:25 +00:00
|
|
|
influx_data:
|