-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-dev.yml
More file actions
38 lines (35 loc) · 897 Bytes
/
Copy pathcompose-dev.yml
File metadata and controls
38 lines (35 loc) · 897 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
37
services:
vulkan2blazor:
image: vulkan2blazor
build:
context: .
dockerfile: Vulkan2Blazor/Dockerfile
ports:
- "8080:8080"
environment:
ASPNETCORE_ENVIRONMENT: "Development"
# ASPNETCORE_URLS: "http://localhost:8080"
ConnectionStrings__Vulkan2Context: 'Host=postgres;Port=5432;Database=${POSTGRES_DB};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}'
depends_on:
postgres:
condition: service_healthy
# volumes:
# - vulkan2:/home/app/.aspnet/DataProtection-Keys
postgres:
image: postgres
restart: always
user: postgres
env_file:
- .env
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres:
# vulkan2: