Add Bytebase blueprint with Docker Compose and configuration files

- Introduced Docker Compose setup for Bytebase service, including environment variables and volume configuration.
- Added logo for Bytebase.
- Created template.toml for Bytebase with default variables for configuration.
This commit is contained in:
Mauricio Siu 2025-03-30 19:56:50 -06:00
parent 68b0eb4818
commit 7f5965c2e0
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,27 @@
version: "3.8"
services:
bytebase:
image: bytebase/bytebase:3.3.0
restart: unless-stopped
ports:
- 8080
environment:
- PG_URL=postgres://postgres:${DB_PASSWORD}@bytebase-db:5432/bytebase
volumes:
- data:/var/opt/bytebase
depends_on:
- bytebase-db
bytebase-db:
image: postgres:13
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=bytebase
volumes:
- db_data:/var/lib/postgresql/data
volumes:
data: {}
db_data: {}

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,12 @@
[variables]
main_domain = "${domain}"
db_password = "${password:16}"
[config]
[[config.domains]]
serviceName = "bytebase"
port = 8080
host = "${main_domain}"
[config.env]
DB_PASSWORD = "${db_password}"