You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OSv Development
Hi All,
I am trying to build one package with a simple nodejs app. I already built the image and seems like it is running fine without any errors but I don't see any running instances nor any service is listening on the port 3000. Please find screenshots below:
ubuntu@unikern:~/calc$ cat meta/package.yaml name: calculator.app.pkg title: Calculator App author: Shambo created: "2022-04-27T19:05:46Z" require: - osv.node-js ubuntu@unikern:~/calc$ cat meta/run.yaml runtime: native config_set: ################################################################ ### This is one configuration set (feel free to rename it). ### ################################################################ default: # REQUIRED # Filepath of the NodeJS entrypoint (where server is defined). # Note that package root will correspond to filesystem root (/) in OSv image. # Example value: /libnode.so server.js bootcmd: /libnode.so server.js # OPTIONAL # Environment variables. # A map of environment variables to be set when unikernel is run. # Example value: env: # PORT: 3000 # HOSTNAME: www.myserver.org
#env: # PORT: 3000
# Add as many named configurations as you need
# OPTIONAL # What config_set should be used as default. # This value can be overwritten with --runconfig argument. config_set_default: default
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OSv Development
Hi,
Which version of capstan are you using? Most likely you have to pass '-f' option to expose the port your app is listening to host like in this example: