mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
- 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.
27 lines
571 B
YAML
27 lines
571 B
YAML
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: {} |