File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
2+ # @@@SNIPSTART compose-mysql-es-setup
23set -eu
34
45# Validate required environment variables
5253fi
5354
5455echo ' MySQL and Elasticsearch setup complete'
56+ # @@@SNIPEND
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ # @@@SNIPSTART compose-mysql-setup
23set -eu
34
45echo ' Starting MySQL schema setup...'
@@ -17,3 +18,4 @@ temporal-sql-tool --plugin mysql8 --ep mysql -u root -p 3306 --db temporal_visib
1718temporal-sql-tool --plugin mysql8 --ep mysql -u root -p 3306 --db temporal_visibility update-schema -d /etc/temporal/schema/mysql/v8/visibility/versioned
1819
1920echo ' MySQL schema setup complete'
21+ # @@@SNIPEND
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ # @@@SNIPSTART compose-postgres-setup
23set -eu
34
45echo ' Starting PostgreSQL schema setup...'
@@ -17,3 +18,4 @@ temporal-sql-tool --plugin postgres12 --ep postgresql -u temporal -p 5432 --db t
1718temporal-sql-tool --plugin postgres12 --ep postgresql -u temporal -p 5432 --db temporal_visibility update-schema -d /etc/temporal/schema/postgresql/v12/visibility/versioned
1819
1920echo ' PostgreSQL schema setup complete'
21+ # @@@SNIPEND
You can’t perform that action at this time.
0 commit comments