-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
43 lines (40 loc) · 1.5 KB
/
Copy pathdocker-compose.override.yml
File metadata and controls
43 lines (40 loc) · 1.5 KB
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
40
41
42
43
services:
focusflow-api:
environment:
# Development-specific overrides
- ASPNETCORE_ENVIRONMENT=Development
# Use these for local debugging without HTTPS complications
- ASPNETCORE_URLS=http://+:8080
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
focusflow-blazor:
environment:
- ASPNETCORE_ENVIRONMENT=Development
# Development: HTTP only to avoid certificate issues
- ASPNETCORE_URLS=http://+:8080 # HTTP only in dev
- ApiBaseUrl=http://focusflow-api:8080
ports:
- "5050:8080" # Override to expose only HTTP
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
# Remove certificate mount in development override
postgres-db:
# Development override: add pgAdmin for easier database management
# Uncomment the ports section below if you need external database access (DBeaver, pgAdmin, etc.)
# Note: This may cause port conflicts if you have PostgreSQL running locally
ports:
- "5432:5432" # Expose only in development for host tools and EF commands
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# Optional: Add pgAdmin for development
# pgadmin:
# image: dpage/pgadmin4:latest
# environment:
# PGADMIN_DEFAULT_EMAIL: admin@focusflow.local
# PGADMIN_DEFAULT_PASSWORD: admin
# ports:
# - "5050:80"
# depends_on:
# - postgres-db