Skip to content

Commit

Permalink
Add materialize bootstrap role (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyiliev authored Sep 5, 2023
1 parent 7b367d7 commit 2e88cb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ services:
command:
- --availability-zone=test1
- --availability-zone=test2
- --bootstrap-role=materialize
ports:
- 6875:6875
- 6877:6877
Expand All @@ -28,9 +29,8 @@ services:
sleep 15 &&
echo "Set Materialize max_tables to 1000" &&
psql -h materialize -U mz_system -d materialize -p 6877 -c "ALTER SYSTEM SET max_tables = 1000;" &&
psql -h materialize -U materialize -d materialize -p 6875 -c "SHOW max_tables;" &&
echo "Grant CREATEDB to materialize user" &&
psql -h materialize -U mz_system -d materialize -p 6877 -c "GRANT CREATEDB ON SYSTEM TO materialize;"'
psql -h materialize -U materialize -d materialize -p 6875 -c "SHOW max_tables;"
'
environment:
- PGPASSWORD=materialize

Expand Down

0 comments on commit 2e88cb2

Please sign in to comment.