-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Copy link
Description
Current Behavior
Lets encrypt did not provision the NPM Library server with a cert.
Bugs:
- Verdaccio $authenticated variable was stripped
- npm registry TLS certificate was not issued
Expected Behavior
I added/modified this to get it to work:
npm-registry-config:
content: |
storage: /verdaccio/storage
web:
enable: false
auth:
ff-auth:
baseURL: http://forge:3000/
adminUser: admin
adminSecret: ${NPM_PASSWORD:-secret}
packages:
'@*/*':
**#Modified**
access: $$authenticated
log: { type: stdout, format: pretty, level: http }
npm-registry:
image: "flowfuse/npm-registry:0.0.1"
networks:
- flowforge
restart: always
environment:
- "VIRTUAL_HOST=npm.${DOMAIN:?error}"
- "VIRTUAL_PORT=4873"
**#Added**
- "LETSENCRYPT_HOST=npm.${DOMAIN:?error}"
Steps To Reproduce
Spin up the compose file with using the the Lets Encrypt scripts.
Environment
- FlowFuse version: Latest
- Platform/OS: Linux / Docker
- Browser: Chrome
Linked Customers
https://app-eu1.hubspot.com/contacts/26586079/record/0-1/334502
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done