Skip to content

Instantly share code, notes, and snippets.

View BedrockDigger's full-sized avatar

Estel BedrockDigger

View GitHub Profile
@Skrilltrax
Skrilltrax / usb3-fastboot-fix.bat
Created May 27, 2020 18:02
Fix the USB 3 issues in fastboot
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause

注: コンテナは止めておくこと。

Step1 docker-compose.ymlの編集

docker-compose.ymlを開き、dbのイメージをpostgres:15-alpineからpostgres:12-alpineに変更する。

次に、dbを定義しているブロックの下に以下を追記。

dbv15:
 restart: always