-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 902 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
version: '3.8'
services:
api:
build:
context: .
dockerfile: src/AuthSystem.Api/Dockerfile
ports:
- "5062:80"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:80
- ConnectionStrings__DefaultConnection=Server=host.docker.internal,1433;Database=AuthSystemDb;User=sa;Password=Strong.Pwd-123;TrustServerCertificate=True
- JwtSettings__SecretKey=your-very-secure-long-secret-key-at-least-32-characters
- JwtSettings__Issuer=AuthSystem
- CORS__Origins=http://localhost:5173,http://localhost:3000
networks:
- auth-network
web:
build:
context: .
dockerfile: src/AuthSystem.Web/Dockerfile
ports:
- "5173:80"
environment:
- VITE_API_URL=http://localhost:5062
depends_on:
- api
networks:
- auth-network
networks:
auth-network:
driver: bridge