🔧 Administration
/
Production Setup
Setup https
You can setup a reverse proxy using Caddy.
--host, --port match exactly to the host:port address where Bytebase supposed to be visited.
Make sureBytebase uses --host, --port to configure the VCS webhook callback used by the project version control workflow. If host:port mismatches, then committed migration scripts will not trigger the issue creation in Bytebase.
If Bytebase is run by Docker, make sure --publish hostport
:containerport
and the --port
flag be the same.
Like the example below, all 3 ports are 5678: --publish 5678:5678 --port 5678
docker run --init --name bytebase --restart always --publish 5678:5678 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:<<version>> --data /var/opt/bytebase --host http://localhost --port 5678