-
Notifications
You must be signed in to change notification settings - Fork 21
/
start
executable file
·43 lines (36 loc) · 1.09 KB
/
start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
echo
echo " * Bringing services up, (re)building as required..."
echo
docker compose up --build -d
echo
echo " * Checking for custom search attributes..."
echo
until docker compose exec tools tctl --auto_confirm admin cluster add-search-attributes --name CandidateEmail --type keyword; do
echo "Waiting for Temporal Frontend to be up"
sleep 1
done
until docker compose exec tools tctl --auto_confirm admin cluster add-search-attributes --name BackgroundCheckStatus --type keyword; do
echo "Waiting for Temporal Frontend to be up"
sleep 1
done
echo
echo " * All services are up"
echo
echo
echo " * The Background Check application is now running."
echo
echo "The following URLs are available to explore the sytem:"
echo
echo -e "\tTemporal Web:"
echo -e "\t\thttp://localhost:8080"
echo -e "\tMail Server (mailhog):"
echo -e "\t\thttp://localhost:8025/"
echo -e "\tGrafana:"
echo -e "\t\thttp://localhost:8085/"
echo
echo "You can check the logs for various components:"
echo
echo -e "docker compose logs worker"
echo -e "docker compose logs api"
echo -e "docker compose logs temporal"