Skip to main content

Docker Deploy

Ryan SULess than 1 minute

Video tutorial

Quick start with docker-compose

In deploy/docker-compose/all_in_one directory, Githubopen in new window

There are mysql and postgres folders, choose a folder to open according to your needs.

2 Steps

1. Run docker-compose

docker-compose up -d

2. Initialize database

Warning

If a 503 error occurs, please restart the backend UI container separately.

http://localhost/initopen in new window

3. Restart API container

Warning

You should restart core-api container after initalization in order to refresh casbin cache. You do not need to restart service after v1.0.14.

Info

In deploy/docker-compose/all_in_one folder, you can check the api and rpc configuration

Warning

To deploy your own service to docker, you only need to modify it to your own image