-
Notifications
You must be signed in to change notification settings - Fork 1
Config
Meir Noordermeer edited this page Apr 28, 2017
·
6 revisions
Use the following template to create your config.json file. Storage and ssl directories are subdirectories of workDir.
Notes:
- The path to the auth-adapter is not a sub-path.
- If you are going to use Docker then leave the workDir at
"/ap-npm"
and mount a folder from your host filesystem.
{
"workDir": "/ap-npm",
"storage": {
"directory": "/storage"
},
"port": 4444,
"auth": {
"adapter": "./auth/json-db",
"users": {
"canPublish": true,
"canAccess": true
},
"register": true,
"public": false,
"remove": true
},
"ssl": {
"enabled": true,
"key": "/ssl/sslkey.key",
"cert": "/ssl/sslcert.crt"
}
}