Skip to content

Commit

Permalink
Update example config syntax (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
dleehr authored Jan 28, 2025
1 parent af3e477 commit b77a265
Showing 1 changed file with 24 additions and 28 deletions.
52 changes: 24 additions & 28 deletions docs/source/getting_started_guide/creating_a_basic_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@ Receptor configurations

.. code-block:: yaml
---
version: 2
node:
id: foo
- node:
id: foo
control-services:
- service: control
- control-service:
service: control
filename: /tmp/foo.sock
tcp-peers:
- address: localhost:2222
- tcp-peer:
address: localhost:2222
log-level:
level: debug
- log-level:
level: debug
...
Expand All @@ -46,19 +44,18 @@ Receptor configurations
.. code-block:: yaml
---
version: 2
node:
id: bar
- node:
id: bar
control-services:
- service: control
- control-service:
service: control
filename: /tmp/bar.sock
tcp-listeners:
- port: 2222
- tcp-listener:
port: 2222
log-level:
level: debug
- log-level:
level: debug
...
Expand All @@ -67,19 +64,18 @@ Receptor configurations
.. code-block:: yaml
---
version: 2
node:
id: baz
- node:
id: baz
control-services:
- service: control
- control-service:
service: control
filename: /tmp/baz.sock
tcp-peers:
- address: localhost:2222
- tcp-peer:
address: localhost:2222
log-level:
level: debug
- log-level:
level: debug
- work-command:
workType: echo
Expand Down

0 comments on commit b77a265

Please sign in to comment.