From 55d54631c2f5f49fded1229dd01135302f640aa2 Mon Sep 17 00:00:00 2001 From: Lenny Chen Date: Fri, 30 Jan 2026 12:45:37 -0800 Subject: [PATCH] docs: add snipsync lines --- compose/scripts/setup-mysql-es.sh | 2 ++ compose/scripts/setup-mysql.sh | 2 ++ compose/scripts/setup-postgres.sh | 2 ++ 3 files changed, 6 insertions(+) diff --git a/compose/scripts/setup-mysql-es.sh b/compose/scripts/setup-mysql-es.sh index 408df35..731a1da 100755 --- a/compose/scripts/setup-mysql-es.sh +++ b/compose/scripts/setup-mysql-es.sh @@ -1,4 +1,5 @@ #!/bin/sh +# @@@SNIPSTART compose-mysql-es-setup set -eu # Validate required environment variables @@ -52,3 +53,4 @@ else fi echo 'MySQL and Elasticsearch setup complete' +# @@@SNIPEND \ No newline at end of file diff --git a/compose/scripts/setup-mysql.sh b/compose/scripts/setup-mysql.sh index 943c1d4..5b1a0dc 100755 --- a/compose/scripts/setup-mysql.sh +++ b/compose/scripts/setup-mysql.sh @@ -1,4 +1,5 @@ #!/bin/sh +# @@@SNIPSTART compose-mysql-setup set -eu echo 'Starting MySQL schema setup...' @@ -17,3 +18,4 @@ temporal-sql-tool --plugin mysql8 --ep mysql -u root -p 3306 --db temporal_visib temporal-sql-tool --plugin mysql8 --ep mysql -u root -p 3306 --db temporal_visibility update-schema -d /etc/temporal/schema/mysql/v8/visibility/versioned echo 'MySQL schema setup complete' +# @@@SNIPEND \ No newline at end of file diff --git a/compose/scripts/setup-postgres.sh b/compose/scripts/setup-postgres.sh index 8d99ccd..4d150d5 100755 --- a/compose/scripts/setup-postgres.sh +++ b/compose/scripts/setup-postgres.sh @@ -1,4 +1,5 @@ #!/bin/sh +# @@@SNIPSTART compose-postgres-setup set -eu echo 'Starting PostgreSQL schema setup...' @@ -17,3 +18,4 @@ temporal-sql-tool --plugin postgres12 --ep postgresql -u temporal -p 5432 --db t temporal-sql-tool --plugin postgres12 --ep postgresql -u temporal -p 5432 --db temporal_visibility update-schema -d /etc/temporal/schema/postgresql/v12/visibility/versioned echo 'PostgreSQL schema setup complete' +# @@@SNIPEND \ No newline at end of file