mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
implementing nx management for the framework
This commit is contained in:
33
backend/project.json
Normal file
33
backend/project.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
||||
"name": "platform",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "backend",
|
||||
"targets": {
|
||||
"up": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "docker compose up -d",
|
||||
"cwd": "."
|
||||
}
|
||||
},
|
||||
"down": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "docker compose down",
|
||||
"cwd": "."
|
||||
}
|
||||
},
|
||||
"logs": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "docker compose logs --tail=100 -f",
|
||||
"cwd": "."
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"scope:platform",
|
||||
"type:infra"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user