新疆后端项目
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/java
|
||||
{
|
||||
"name": "Java",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/java:1-8-bullseye",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/java:1": {
|
||||
"version": "none",
|
||||
"installMaven": "true",
|
||||
"installGradle": "false"
|
||||
}
|
||||
},
|
||||
"runArgs": [
|
||||
"--network",
|
||||
"dev",
|
||||
"-v",
|
||||
"dev-maven-repo:/home/vscode/.m2"
|
||||
],
|
||||
"containerEnv": {
|
||||
"NACOS_SERVER_ADDR": "nacos:8848",
|
||||
"NACOS_USERNAME": "cqyt",
|
||||
"NACOS_PASSWORD": "Aa123456",
|
||||
"NACOS_NAMESPACE": "2639a2d4-7b64-4408-98c9-b97e0bdf4c1f"
|
||||
},
|
||||
remoteEnv: {
|
||||
"PROFILE_NAME": "dev",
|
||||
"NACOS_GROUP": "dev"
|
||||
},
|
||||
"build": {
|
||||
"options": [
|
||||
"-t", "cqyt-platform-dev-image"
|
||||
]
|
||||
},
|
||||
|
||||
"customizations": {
|
||||
"jetbrains": {
|
||||
"backend": "IntelliJ"
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user