I'm investigating whether it is possible to pre-configure a docker fn server starting with a config file describing apps, functions images and triggers.
I'm considering running fn server from inside a production environment without the possibility of deploying functions from the outside.
I cannot issue fn deploy from my working machine (or a CD server) using a context referencing my production environment.
My tehorical workflow would be:
from develop environment: building and pushing images to a container registry
from production environment: start/restart "fn server" with a mounted file containing the functions meta informations needed to let the server build the objects (app, functions, triggers .. )
Thank you.
Output of fn version (CLI command):
Client version is latest version: 0.6.34
Server version: 0.3.750
Description
I'm investigating whether it is possible to pre-configure a docker fn server starting with a config file describing apps, functions images and triggers.
I'm considering running fn server from inside a production environment without the possibility of deploying functions from the outside. I cannot issue
fn deploy
from my working machine (or a CD server) using a context referencing my production environment.My tehorical workflow would be:
Thank you.
Output of
fn version
(CLI command):Additional environment details (OSX, Linux, flags, etc.):
Linux environment