Changeset View
Changeset View
Standalone View
Standalone View
roles/paas-docker/anubis/files/instance.env
- This file was added.
| # ------------------------------------------------------------- | |||||
| # Anubis — Instance configuration | |||||
dereckson: We noticed a lot of hallucinations in this template.
For reference, here what we used for deck. | |||||
Not Done Inline ActionsThe two examples we've on Dwellers: name=Orbeon (service "anubis", our first test) TARGET=http://127.0.0.1:16080 POLICY_FNAME=/etc/anubis/botPolicies.yaml ED25519_PRIVATE_KEY_HEX_FILE=/etc/anubis/private.key Bar (serviceanubis-bar) TARGET=https://windriver.nasqueron.org POLICY_FNAME=/etc/anubis/botPolicies.yaml BIND=127.0.0.1:8924 METRICS_BIND=172.27.27.4:9091 ED25519_PRIVATE_KEY_HEX_FILE=/etc/anubis/private.key dereckson: The two examples we've on Dwellers:
```name=Orbeon (service "anubis", our first test)… | |||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |||||
Not Done Inline ActionsDefault value is harmful here: we can't have two services listening to the same TCP port. So better to fail loudly with an error bind or metrics_bind haven't been defined in config. dereckson: Default value is harmful here: we can't have two services listening to the same TCP port.
So… | |||||
| # Project: Nasqueron | |||||
| # License: Trivial work, not eligible to copyright | |||||
| # Source file: roles/paas-docker/anubis/files/instance.env | |||||
| # ------------------------------------------------------------- | |||||
| # | |||||
| # <auto-generated> | |||||
| # This file is managed by our rOPS SaltStack repository. | |||||
| # | |||||
| # Changes to this file may cause incorrect behavior | |||||
| # and will be lost if the state is redeployed. | |||||
| # </auto-generated> | |||||
| TARGET=http://127.0.0.1:{{ port }} | |||||
| BIND={{ config.socket }} | |||||
| BIND_NETWORK=unix | |||||
| POLICY_FNAME={{ config.policies_file | default("/usr/local/etc/anubis/policies.yaml") }} | |||||
| METRICS_BIND={{ config.metrics_socket }} | |||||
| METRICS_BIND_NETWORK=unix | |||||
| ED25519_PRIVATE_KEY_HEX_FILE=/etc/anubis/private.key | |||||
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator
We noticed a lot of hallucinations in this template.
For reference, here what we used for deck.nasqueron.org -> Orbeon in Decemmber:
ANUBIS_TARGET_URL seems to match expected value for TARGET
ANUBIS_METRICS_ADDR seems to match expected value for METRICS_BIND