This folder stores frequently used databases quickstart.
Prerequisite:
-
git clone https://github.com/bytebase/bytebase.git && \ cd bytebase/quickstart
-
Compose up quickstart.
docker compose -f mysql-quickstart.docker-compose.yml up
After services are ready, open localhost:8080 in the browser.
-
In
Instances
, there are 2 prepared MySQL instances both connecting tohost.docker.internal:3306
. ChooseMySQL Test
.Find
Connection info
, checkEmpty
password, andTest Connection
. You will seeSuccessfully connected instance
.Update
password.Next
Create migration schema
(on top), and chooseCreate
.Finally
Sync Now
(at the bottom). You should see some test databases.
-
git clone https://github.com/bytebase/bytebase.git && \ cd bytebase/quickstart
-
Compose up quickstart.
docker compose -f clickhouse-quickstart.docker-compose.yml up
After services are ready, open localhost:8080 in the browser.
-
Add instance
and chooseClickHouse
. ClickTest Connection
, and then you will seeSuccessfully connected instance
.[Optional] Set up
Instance Name
orEnvironment
.Finially
Create
instance. You will see some test databases prepared.
-
git clone https://github.com/bytebase/bytebase.git && \ cd bytebase/quickstart
-
Compose up quickstart.
docker compose -f clickhoust-cluster-quickstart.docker-compose.yml up
This compose file sets up a 2 shards * 2 replica clickhouse cluster.
After services are ready, open localhost:8080 in the browser.
-
In
Instances
, chooseAdd instance
.Choose
ClickHouse
.[Optional] Set up
Instance Name
orEnvironment
.Enter host
clickhouse01
and thenTest Connection
. You should seeSuccessfully connected instance.
, and finally clickCreate
.There are other 3 nodes in host
clickhouse02
,clickhouse03
andclickhouse04
. Repeat the steps to add them.
-
git clone https://github.com/bytebase/bytebase.git && \ cd bytebase/quickstart
-
Compose up quickstart.
docker compose -f gitlab-quickstart.docker-compose.yml up
It might take several minutes for Gitlab to boot up.
-
Visit localhost:8080, you should see Bytebase page. In
Settings
>GitOps
, enter GitLab instance URLhttp://localhost:1080
, and clickNext
. -
In step 2, you need to set up an application in GitLab.
Visit localhost:1080, you should see Gitlab page. The default username/password is
root
andbytebase
.After logged in, click user avatar and then
Preferences
.Follow the tips on Bytebase page to add application.
Copy the Application ID and Secret to bytebase.
Finally,
Confirm and add
. A GitLab self-host has been added as a Git provider.