-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
78 lines (72 loc) · 1.5 KB
/
docker-compose.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: "3.8"
services:
csharp:
image: docker-instant-development/csharp:debug
build:
context: ./c#
dockerfile: Dockerfile
target: debug
platforms:
- "linux/amd64"
args:
- TARGETARCH=linux-musl-x64
environment:
- ASPNETCORE_URLS=http://+:8080
ports:
- "8081:8080"
volumes:
- $PWD/c#/TodoApi:/src
command: >
/bin/sh -c "dotnet run"
golang:
image: docker-instant-development/golang-app:debug
build:
context: ./golang
dockerfile: Dockerfile
target: debug
ports:
- "8082:8080"
volumes:
- $PWD/golang:/src
command: >
/bin/sh -c "go run ."
java:
build:
context: ./java
dockerfile: Dockerfile
ports:
- "8083:8080"
volumes:
- $PWD/java:/app
python:
build:
context: ./python
dockerfile: Dockerfile
target: debug
ports:
- "8084:8080"
volumes:
- $PWD/python:/src
command: >
/bin/sh -c "FLASK_APP=main.py python -m flask run --host=0.0.0.0 --port=8080"
rust:
build:
context: ./rust
dockerfile: Dockerfile
ports:
- "8085:8080"
volumes:
- $PWD/rust:/app
nodejs:
image: docker-instant-development/nodejs-app:debug
build:
context: ./nodejs
dockerfile: Dockerfile
target: debug
ports:
- "3000:3000"
volumes:
- $PWD/nodejs:/src
- /src/node_modules
command: >
/bin/sh -c "npm start"