We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1379b31 commit f82978bCopy full SHA for f82978b
startup/00-base.py
@@ -9,11 +9,21 @@
9
10
print("LOADING 00")
11
12
+### Redis
13
+with open("/etc/bluesky/redis.secret", "r") as f:
14
+ redis_secret = f.read().strip()
15
+ os.environ["REDIS_PASSWORD"] = redis_secret
16
+
17
+### Configure Base
18
nslsii.configure_base(
19
get_ipython().user_ns, # noqa: F821
20
publish_documents_with_kafka="cdi",
21
+ redis_url="xf09id1-cdi-redis1.nsls2.bnl.gov",
22
+ redis_port=6380,
23
+ redis_ssl=True
24
)
25
26
+### Tiled
27
tiled_writing_client = from_uri(
28
"https://tiled.nsls2.bnl.gov/api/v1/metadata/cdi/raw",
29
api_key=os.environ["TILED_BLUESKY_WRITING_API_KEY_CDI"],
0 commit comments