-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
35 lines (31 loc) · 1.05 KB
/
docker-compose.override.yml
File metadata and controls
35 lines (31 loc) · 1.05 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
# docker-compose.override.yml
version: '3.8'
services:
# Disable Traefik in local dev
traefik:
profiles: ["disabled"]
# API (.NET backend)
scaleslayer.web.server:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__DefaultConnection=Host=postgres;Database=scaleslayer;Username=postgres;Password=postgres
- DatabaseConnectionString=Host=postgres;Port=5432;Username=postgres;Password=postgres;Database=scale-slayer
ports:
- "8080:8080" # Access API via http://localhost:8080
labels: [] # Disable Traefik labels
# Frontend (Vite)
frontend:
command: ["npm", "run", "dev", "--", "--host"]
ports:
- "5173:5173" # Access Vite via http://localhost:5173/scale-slayer
labels: [] # Disable Traefik labels
environment:
- VITE_API_URL=http://localhost:8080/scale-slayer-api
depends_on:
- scaleslayer.web.server
# Postgres unchanged
postgres:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: scaleslayer