Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions compose/scripts/setup-mysql-es.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
# @@@SNIPSTART compose-mysql-es-setup
set -eu

# Validate required environment variables
Expand Down Expand Up @@ -52,3 +53,4 @@ else
fi

echo 'MySQL and Elasticsearch setup complete'
# @@@SNIPEND
2 changes: 2 additions & 0 deletions compose/scripts/setup-mysql.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
# @@@SNIPSTART compose-mysql-setup
set -eu

echo 'Starting MySQL schema setup...'
Expand All @@ -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
2 changes: 2 additions & 0 deletions compose/scripts/setup-postgres.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
# @@@SNIPSTART compose-postgres-setup
set -eu

echo 'Starting PostgreSQL schema setup...'
Expand All @@ -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