mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
restart containers always
sometimes the containers start and fail before the postgres container is fully initialised
This commit is contained in:
1 parent
2910f2b637
commit
9ca70c52ed
1 file changed
+2
-1
@@ -17,6 +17,7 @@ services:
|
||||
- ${AUTH_PORT}
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
environment:
|
||||
GOTRUE_JWT_SECRET: ${JWT_SECRET}
|
||||
GOTRUE_JWT_EXP: 3600
|
||||
@@ -80,7 +81,7 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
- rest
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
ANON_KEY: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTYwMzk2ODgzNCwiZXhwIjoxNjkwNDQzMTM1LCJhdWQiOiIiLCJzdWIiOiIiLCJSb2xlIjoiYW5vbiIsImp0aSI6ImQ1N2ZkMjFlLTNkYjQtNDk3YS1hNGViLTI4ZDY3Yzg2NjEwMiJ9.YySz_BoYxYco0b2aP3iBMt-dVUqC6RpnQiSb4Zt-L-o
|
||||
SERVICE_KEY: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTYwMzk2ODgzNCwiZXhwIjoxNjkwNDQzMTM1LCJhdWQiOiIiLCJyb2xlIjoic2VydmljZV9yb2xlIiwianRpIjoiOTk4MzJiYmItNDdhNS00NzJhLTgxMDQtYzY4ZGVjZDQyZDVlIn0._DToQdxDcSLsp3tPpacsxswv0p1KRti0QOTmnbfs5JY
|
||||
|
||||
Reference in new issue
Block a user