diff --git a/docker-compose.yml b/docker-compose.yml index 471d31385d..473b6d39fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -212,6 +212,7 @@ services: networks: - primary profiles: + - dev - edfs redis: @@ -260,6 +261,7 @@ services: ALLOW_PLAINTEXT_LISTENER: yes KAFKA_KRAFT_CLUSTER_ID: XkpGZQ27R3eTl3OdTm2LYA # 16 byte base64-encoded UUID profiles: + - dev - edfs # This network is shared between this file and docker-compose.full.yml to diff --git a/router/.env.example b/router/.env.example index f004a66a47..d6a8e8f2bf 100644 --- a/router/.env.example +++ b/router/.env.example @@ -8,6 +8,7 @@ DEV_MODE=true GRAPH_API_TOKEN= CDN_URL=http://127.0.0.1:11000 NATS_URL=nats://localhost:4222 +CONFIG_PATH=demo.config.yaml #CONFIG_PATH=debug.config.yaml #GRAPH_CONFIG_SIGN_KEY=7kZKCz7DaLpvHKtaFEupDsBvDD9EEmUB diff --git a/router/demo.config.yaml b/router/demo.config.yaml new file mode 100644 index 0000000000..859751a691 --- /dev/null +++ b/router/demo.config.yaml @@ -0,0 +1,18 @@ +# yaml-language-server: $schema=./pkg/config/config.schema.json + +# See pkg/config/config.go for the full list of configuration options. +# This file is used for the demo environment + +version: "1" + +events: + providers: + nats: + - id: default + url: "nats://localhost:4222" + - id: my-nats + url: "nats://localhost:4222" + kafka: + - id: my-kafka + brokers: + - "localhost:9092" \ No newline at end of file