mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
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:
27
blueprints/bytebase/docker-compose.yml
Normal file
27
blueprints/bytebase/docker-compose.yml
Normal 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: {}
|
||||||
BIN
blueprints/bytebase/image.png
Normal file
BIN
blueprints/bytebase/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
12
blueprints/bytebase/template.toml
Normal file
12
blueprints/bytebase/template.toml
Normal 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}"
|
||||||
Reference in New Issue
Block a user