-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (58 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
60 lines (58 loc) · 1.2 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.9'
services:
vue-server:
build:
context: ./client
dockerfile: Dockerfile
target: prod # Use the dev-stage from the Dockerfile
ports:
- "5173:8080" # Expose development port
volumes:
- ./client/:/app # Mount code for live-reloading
environment:
- NODE_ENV=development
networks:
- chefNet
chefbook-server:
build:
context: ./server
dockerfile: Dockerfile
depends_on:
- sqlserver
networks:
- chefNet
ports:
- 8080:8080
- 80:80
volumes:
- images:/app/imgs
environment:
ASPNETCORE_ENVIRONMENT: Development
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
SA_PASSWORD: "YourStrong!Passw0rd"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"
volumes:
- sqlserver_data:/var/opt/mssql
networks:
- chefNet
mailhog:
image: mailhog/mailhog
container_name: mailhog
ports:
- "1025:1025" # SMTP port
- "8025:8025" # Web UI port
networks:
- chefNet
networks:
chefNet:
name: chefNet
driver: bridge
volumes:
sqlserver_data:
driver: local
images:
driver: local