Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@rene.simon/dev-kit
Advanced tools
Tool to run local dev environments
- projects
|- tool
| |-tool-api
| |-tool-client
|
|- project2
mkdir projects/tool/tool-dev-kit
cd my-dev-kit
npm init
Answer all question how you want itnpm i @rene.simon/dev-kit
devKitSetup
Answer all question how you want it
tCtrl
tool-api:
container_name: $TOOL_API_NAME
build:
context: $TOOL_API_LOCAL_PATH
command: "npm run dev"
working_dir: /app/tool-api
volumes:
- '$TOOL_API_LOCAL_PATH:/app/tool-api'
- '~/.npmrc:/root/.npmrc'
env_file:
- .env
environment:
PORT: $TOOL_API_PORT
networks:
- net
labels:
healthcheck:
test: "wget -qO - localhost:$TOOL_API_PORT/healthcheck"
interval: 15s
timeout: 2s
retries: 4
start_period: 30s
tool-client:
container_name: "$TOOL_CLIENT_NAME"
image: "node:14.16.1"
env_file:
- .env
volumes:
- '$TOOL_CLIENT_LOCAL_PATH:/app/tool-client'
- '~/.npmrc:/root/.npmrc'
networks:
- net
labels:
IMPORTANT:
param-case
CONSTANT_CASE
devKitSetup
${SERVICE_NAME}_REPO
and ${SERVICE_NAME}_LOCAL_PATH
for each internal projectCONSTANT_CASE
NETWORK_NAME=net
--> NETWORK_NAME=tool-net
${SERVICE_NAME}_LOCAL_PATH
like the following exampleTOOL_API_LOCAL_PATH=../../tool/tool-api
${SERVICE_NAME}_PORT
and ${SERVICE_NAME}_EXTERNAL_PORT
Where ${SERVICE_NAME}_PORT
defines the port your services will listen too and
${SERVICE_NAME}_EXTERNAL_PORT
the port how you want to access the service from your host./bin/run.js setup
{$HOST}:{$TOOL_API_EXTERNAL_PORT} {
tls /config/{$SSL_CERT_PREFIX}-local.crt /config/{$SSL_CERT_PREFIX}-local.key
reverse_proxy {
to http://tool-api:{$TOOL_API_PORT}
}
}
services:
proxy:
[...]
ports:
- $TOOL_API_EXTERNAL_PORT:$TOOL_API_EXTERNAL_PORT
[...]
help
to see all your actions
tCtrl help
FAQs
Tool to easily run local docker-based dev environments
The npm package @rene.simon/dev-kit receives a total of 15 weekly downloads. As such, @rene.simon/dev-kit popularity was classified as not popular.
We found that @rene.simon/dev-kit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.