Create a new blog container, substitute domain.com for your domain and specify your blog location with -v target:/app, specify your git user and email address (for deployment):
Should you wish to perform further configuration, i.e. installing custom themes, this should be viable from the app specific volume, either directly or via the container (changes to the app volume are persistent). Accessing the container -
1 2 3
docker exec -it ideask.github.io bash npm config set registry https://registry.npm.taobao.org yarn config set registry 'https://registry.npm.taobao.org'
Deployment keys for use with Github/Gitlab
Deployment keys are configured as part of the initial app configuration, see the .ssh directory within your app volume or, view the logs upon startup for the SSH public key
1
docker logs --follow ideask.github.io
Installing a theme
Each theme will vary but for example, a theme such as Hueman, clone the repository to the themes directory within the app volume
1 2
cd /app git clone https://github.com/Yue-plus/hexo-theme-arknights.git themes/arknights
Update _config.yml in your app folder, and change theme accordingly