-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
39 lines (39 loc) · 1.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3'
services:
db:
image: postgres:12
ports:
- 127.0.0.1:5432:5432
environment:
POSTGRES_DB: blaseball
POSTGRES_PASSWORD: password
volumes:
- db_data:/var/lib/postgresql/data
ingest:
build: .
command: ["SIBR.Storage.CLI.dll", "ingest"]
environment:
POSTGRES_CONNECTION: 'Host=db;Port=5432;Username=postgres;Password=password;Database=blaseball'
volumes:
- ./logs/ingest:/app/out/logs
cli:
build: .
entrypoint: ["dotnet", "SIBR.Storage.CLI.dll"]
environment:
POSTGRES_CONNECTION: 'Host=db;Port=5432;Username=postgres;Password=password;Database=blaseball'
volumes:
- ./logs/cli:/app/out/logs
- ./import:/app/out/import
api:
build: .
command: ["SIBR.Storage.API.dll"]
environment:
POSTGRES_CONNECTION: 'Host=db;Port=5432;Username=postgres;Password=password;Database=blaseball'
ASPNETCORE_URLS: http://0.0.0.0:80
ASPNETCORE_ENVIRONMENT: Production
ports:
- 4010:80
volumes:
- ./logs/api:/app/out/logs
volumes:
db_data: