-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) · 784 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (27 loc) · 784 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
services:
postgres:
image: postgres:17
environment:
POSTGRES_DB: cleanarchitecture
POSTGRES_USER: appuser
POSTGRES_PASSWORD: devpassword
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
webapi:
build: .
depends_on:
- postgres
environment:
UseInMemoryDB: "false"
ConnectionStrings__DbContext: "Host=postgres;Port=5432;Database=cleanarchitecture;Username=appuser;Password=devpassword;"
ASPNETCORE_ENVIRONMENT: Development
ClientApp__Origin: "http://localhost:3000"
GOOGLE_APPLICATION_CREDENTIALS: /app/firebase-adminsdk.json
volumes:
- ~/secrets/firebase-adminsdk.json:/app/firebase-adminsdk.json
ports:
- "8080:8080"
volumes:
postgres_data: