Closed chendelin1982 closed 4 months ago
services:
bytebase:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
#command: ["--backup-bucket", "your-bucket-name"]
env_file:
- .env
restart: unless-stopped
services: bytebase: image: $W9_REPO:$W9_VERSION container_name: $W9_ID #command: ["--backup-bucket", "your-bucket-name"] env_file: - .env restart: unless-stopped
provide refer official docs
https://www.bytebase.com/docs/get-started/self-host/
mkdir ~/volumes
colima start --mount ~/volumes:w
docker run --init \
--name bytebase \
--restart always \
--publish 80:8080 \
--volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:2.13.2 \
--data /var/opt/bytebase \
--external-url https://bytebase.example.com \
--port 8080
将docker命令转换成docker-compose.yml
version: '3.8'
services:
bytebase:
image: bytebase/bytebase:2.13.2
container_name: bytebase
restart: always
ports:
- "80:8080"
volumes:
- "~/.bytebase/data:/var/opt/bytebase"
command:
- "--data=/var/opt/bytebase"
- "--external-url=https://bytebase.example.com"
- "--port=8080"
What type of your feature request?
docs: https://www.bytebase.com/docs/get-started/self-host/#docker