This commit is contained in:
Refactorian
2024-03-02 06:11:17 +09:00
committed by GitHub
parent 21253361b6
commit 58e6ad680f
3 changed files with 51 additions and 2 deletions

48
.npmrc Normal file
View File

@@ -0,0 +1,48 @@
# # Set the registry to your Artifactory registry over HTTPS
# registry=https://your-artifactory-url/npm/repository/npm-group/
# # Specify the CA file for HTTPS requests (replace /path/to/your/cafile.pem with the actual path)
# cafile=/path/to/your/cafile.pem
# # Specify authentication details (replace placeholders with your actual credentials)
# //your-artifactory-url/npm/repository/npm-group/:_authToken=your-auth-token
# # Other configuration options
# progress=false
# loglevel=info
# # Set a custom cache directory for npm packages
# cache=/path/to/your/npm-cache
# # Specify the location for storing global npm packages
# prefix=/path/to/global/npm-packages
# # Use a specific Node.js version
# engine-strict=true
# engine-0.12=false
# engine-4=true
# # Disable package-lock creation
# package-lock=false
# # Use a custom user-agent string
# user-agent=my-custom-user-agent
# # Set the default script to run on "npm start"
# start=custom-start-script
# # Disable SSL for a specific registry (if needed)
# registry=http://insecure-registry-url/
# # Set proxy configurations
# proxy=http://proxy.example.com:8080/
# https-proxy=http://proxy.example.com:8080/
# # Ignore SSL errors
# strict-ssl=false
# # Set the timeout for HTTP requests
# timeout=60000
# # Set the number of concurrent connections
# maxsockets=8

View File

@@ -12,6 +12,7 @@ services:
- 5173:5173
volumes:
- .:/var/www:cached
- .npmrc:/var/www/.npmrc
####################################################################################################
# Nginx