From 67637a2a3cab18eef7af5e5776e6f99fa831990c Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 11 Oct 2024 17:54:13 +0200 Subject: [PATCH] Get rid of cfg Not fucking working --- cfg/nsqadmin.toml | 3 --- cfg/nsqd.toml | 7 ------- cfg/nsqlookupd.toml | 3 --- docker-compose.yml | 11 +++-------- 4 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 cfg/nsqadmin.toml delete mode 100644 cfg/nsqd.toml delete mode 100644 cfg/nsqlookupd.toml diff --git a/cfg/nsqadmin.toml b/cfg/nsqadmin.toml deleted file mode 100644 index 72cab8b..0000000 --- a/cfg/nsqadmin.toml +++ /dev/null @@ -1,3 +0,0 @@ -http_address = "0.0.0.0:4171" -nsqlookupd_http_addresses = ["nsqlookupd:4161"] -broadcast_address = "nsqadmin" \ No newline at end of file diff --git a/cfg/nsqd.toml b/cfg/nsqd.toml deleted file mode 100644 index 90b9ff5..0000000 --- a/cfg/nsqd.toml +++ /dev/null @@ -1,7 +0,0 @@ -http_address = "0.0.0.0:4151" -tcp_address = "0.0.0.0:4150" -data_path = "/data" -mem_queue_size = 10000 -max_bytes_per_file = 104857600 -nsqlookupd_http_addresses = ["nsqlookupd:4161"] -broadcast_address = "nsqd" \ No newline at end of file diff --git a/cfg/nsqlookupd.toml b/cfg/nsqlookupd.toml deleted file mode 100644 index d076a74..0000000 --- a/cfg/nsqlookupd.toml +++ /dev/null @@ -1,3 +0,0 @@ -http_address = "0.0.0.0:4161" -tcp_address = "0.0.0.0:4160" -broadcast_address = "nsqlookupd" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 2051aa8..c5eab6e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,13 @@ services: nsqlookupd: image: nsqio/nsq - command: /nsqlookupd --config=/etc/nsq/cfg/nsqlookupd.toml + command: /nsqlookupd ports: - "4160:4160" - "4161:4161" - volumes: - - ./cfg:/etc/nsq/cfg nsqd: image: nsqio/nsq - command: /nsqd --config=/etc/nsq/cfg/nsqd.toml + command: /nsqd --lookupd-tcp-address=nsqlookupd:4160 depends_on: - nsqlookupd ports: @@ -17,12 +15,9 @@ services: - "4151:4151" volumes: - ./data:/data - - ./cfg:/etc/nsq/cfg nsqadmin: image: nsqio/nsq - command: /nsqadmin --config=/etc/nsq/cfg/nsqadmin.toml - volumes: - - ./cfg:/etc/nsq/cfg + command: /nsqadmin --lookupd-http-address=nsqlookupd:4161 depends_on: - nsqlookupd ports: