From 1cdccc69120109e787d9aca0e0801f8ace8bce6b Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Sun, 6 Oct 2024 20:13:12 -0400 Subject: [PATCH 1/4] Add default secret to config --- metacpan_server.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metacpan_server.yaml b/metacpan_server.yaml index c5834083d..1f59e4544 100644 --- a/metacpan_server.yaml +++ b/metacpan_server.yaml @@ -1,5 +1,7 @@ +--- git: /usr/bin/git +secret: "the stone roses" level: info elasticsearch_servers: http://localhost:9200 minion_dsn: postgresql:///minion_queue From d0067a8856cd152b23d9d37f07905cd1d8f799ce Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Sun, 6 Oct 2024 20:13:36 -0400 Subject: [PATCH 2/4] Add default Minion DSN to config --- metacpan_server.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metacpan_server.yaml b/metacpan_server.yaml index 1f59e4544..a92399461 100644 --- a/metacpan_server.yaml +++ b/metacpan_server.yaml @@ -4,7 +4,7 @@ git: /usr/bin/git secret: "the stone roses" level: info elasticsearch_servers: http://localhost:9200 -minion_dsn: postgresql:///minion_queue +minion_dsn: "postgresql://metacpan:t00lchain@pghost:5432/minion_queue" port: 5000 logger: From 7e01a73eb1ede2a941c86f93ddfbe6a94d39fbe1 Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Sun, 6 Oct 2024 20:25:56 -0400 Subject: [PATCH 3/4] Add a default path to CPAN to config --- metacpan_server.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/metacpan_server.yaml b/metacpan_server.yaml index a92399461..5d90770ac 100644 --- a/metacpan_server.yaml +++ b/metacpan_server.yaml @@ -1,6 +1,7 @@ --- git: /usr/bin/git +cpan: /CPAN secret: "the stone roses" level: info elasticsearch_servers: http://localhost:9200 From 37bc5ee6b732764cce9ad941bc2bcbced3bffbfb Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Sun, 6 Oct 2024 20:33:42 -0400 Subject: [PATCH 4/4] Fix hostname for elasticsearch_servers default in config --- metacpan_server.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metacpan_server.yaml b/metacpan_server.yaml index 5d90770ac..c7f8a9c76 100644 --- a/metacpan_server.yaml +++ b/metacpan_server.yaml @@ -4,7 +4,7 @@ git: /usr/bin/git cpan: /CPAN secret: "the stone roses" level: info -elasticsearch_servers: http://localhost:9200 +elasticsearch_servers: http://elasticsearch:9200 minion_dsn: "postgresql://metacpan:t00lchain@pghost:5432/minion_queue" port: 5000