-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
34 lines (32 loc) · 890 Bytes
/
docker-compose.debug.yml
File metadata and controls
34 lines (32 loc) · 890 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
services:
db:
image: mysql:8.0
container_name: connectify-mysql-debug
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: connectify
MYSQL_USER: connectify_user
MYSQL_PASSWORD: connectify_pass
ports:
- "3306:3306"
volumes:
- db_data_debug:/var/lib/mysql
connectify:
build:
context: .
dockerfile: Dockerfile.debug
container_name: connectify-debug
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5000
- ConnectionStrings__DefaultConnection=Server=db;Port=3306;Database=connectify;Uid=connectify_user;Pwd=connectify_pass;
ports:
- "5000:5000"
volumes:
- .:/app
depends_on:
- db
command: ["dotnet", "watch", "run", "--urls", "http://0.0.0.0:5000", "--no-launch-profile"]
volumes:
db_data_debug: