-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 912 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (35 loc) · 912 Bytes
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
services:
core-database:
working_dir: /
image: "postgres"
environment:
POSTGRES_DB: coredb
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"
build:
context: .
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 3s
retries: 5
core-server:
working_dir: /
image: "core/server"
environment:
- ASPNETCORE_ENVIRONMENT=development
- "ASPNETCORE_URLS=http://0.0.0.0:8080;https://0.0.0.0:8081"
- ASPNETCORE_HTTP_PORTS=8080
- ASPNETCORE_HTTPS_PORTS=8081
- ASPNETCORE_Kestrel__Certificates__Default__Password=asus
- ASPNETCORE_Kestrel__Certificates__Default__Path=/aspnetapp.pfx
ports:
- "8080:8080"
- "8081:8081"
build:
context: .
dockerfile: ./Dockerfile
depends_on:
core-database:
condition: service_healthy