-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevcontainer.json
More file actions
executable file
·73 lines (67 loc) · 1.69 KB
/
devcontainer.json
File metadata and controls
executable file
·73 lines (67 loc) · 1.69 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
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "Mofe API Dev Container",
"dockerComposeFile": ["../compose.yaml", "docker-compose.yml"],
"service": "app",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "21",
"installGradle": "true"
},
"ghcr.io/devcontainers/features/git:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"vscjava.vscode-java-pack",
"fwcd.kotlin",
"ms-vscode.vscode-spring-initializr",
"vmware.vscode-spring-boot",
"vscjava.vscode-spring-boot-dashboard",
"gabrielbb.vscode-lombok",
"redhat.vscode-yaml",
"ms-vscode.vscode-json",
"bradlc.vscode-tailwindcss",
"esbenp.prettier-vscode",
"ms-vscode.vscode-docker"
],
"settings": {
"java.configuration.runtimes": [
{
"name": "JavaSE-21",
"path": "/usr/local/sdkman/candidates/java/current"
}
],
"java.compile.nullAnalysis.mode": "automatic",
"spring-boot.ls.logfile": {
"on": true
}
}
}
},
"forwardPorts": [8080, 3306, 5672, 15672],
"portsAttributes": {
"8080": {
"label": "Spring Boot App",
"onAutoForward": "notify"
},
"3306": {
"label": "MySQL/MariaDB"
},
"5672": {
"label": "RabbitMQ"
},
"15672": {
"label": "RabbitMQ Management"
}
},
"postCreateCommand": "chmod +x gradlew",
"postStartCommand": "sudo service docker start",
"remoteEnv": {
"SPRING_PROFILES_ACTIVE": "dev"
},
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
]
}