Commit Graph

17 Commits

Author SHA1 Message Date
A.Unger
f737dd6aa6 parse configuration on before hook on server command 2020-03-18 12:54:46 +01:00
A.Unger
6a247ebe0e override default config values when config file is present 2020-03-02 12:13:54 +01:00
Thomas Müller
5390ca28ef In case the http server cannot be started the error is logged 2020-01-28 11:40:12 +01:00
A.Unger
1b73f3e7be rename flag to singular 2020-01-27 09:06:32 +01:00
A.Unger
8fc3593a75 Update micro alongside micro to v2, remove cli flags parsing monkeypatch for web-config-apps 2020-01-27 08:58:58 +01:00
David Christofas
0fabe3b0c4 fix: remove flagset options
Flagsets are not necessary for initializing the web server/service.
Passing them will cause micro to call the flagset function again which
then overrides the given value with the default value.

Fixes #33
2020-01-22 16:14:07 +01:00
A.Unger
761e114666 use ocis-pkg@master until a new release is out 2020-01-15 15:58:56 +01:00
A.Unger
4155720666 update refs to config.Phoenix.Namespace 2019-12-24 11:43:18 +01:00
A.Unger
5708f07a37 use value from config 2019-12-18 13:11:33 +01:00
A.Unger
b922327074 use http namespace 2019-12-18 12:58:02 +01:00
A.Unger
1a00d102c4 inject cmd flags 2019-12-12 11:09:45 +01:00
Thomas Boerger
690e80aaec Add back http-root 2019-12-09 16:13:26 +01:00
Thomas Boerger
3498580b7b Restructure project similar to hello and graph 2019-12-09 16:12:53 +01:00
Thomas Boerger
ae50f7dcd3 Optionally listen to unix sockets instead of port binding 2019-09-13 14:39:31 +02:00
Thomas Boerger
39de6f69e4 Drop all config attributes, just serve a config.json 2019-09-11 13:08:33 +02:00
Thomas Boerger
b6d43661a8 Embed phoenix and serve it
So far Phoenix have been embedded into the binary and we can customize
the required config based on flags, env variables and optionally via
config file. For now I'm embedding the whole Phonix content, optherwise
the all-in-one binary `ocis` will get pretty complicated until we add
the generate commands to that repo as well and provide a mechanism to
inject the embedding.
2019-09-06 13:40:18 +02:00
Thomas Boerger
66facde60a Rename service package to command 2019-09-04 10:18:30 +02:00