Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Starting V0.7.0, nginx was no longer using the Docker routing mesh, this was done to support showing real IPs behind requests. However, this caused issues on servers that have their ports blocked by firewall, see https://github.com/githubsaturn/captainduckduck/issues/237
Although it's not a bug in CaptainDuckDuck, it might cause confusion for new users, hence, a precheck for firewall test is added to the installation phase. If a firewall on important ports is detected, the user will be warned with a proper message and an instruction on how to disable firewall.
Added:
Improved:
mode=host
for nginxAdded:
Fixed:
Improved:
Fixed:
Improved:
BREAKING CHANGES::
1.0.11
-- To check your current version: captainduckduck -V
-- To update: sudo npm install -g captainduckduck
captain-definition
files:
-- if you have python
as your template, you should change it to python-django
docker service update --log-driver json-file --log-opt max-size=512m captain-nginx
docker service update --log-driver json-file --log-opt max-size=512m captain-captain
docker service update --log-driver json-file --log-opt max-size=512m captain-certbot
docker service update --log-driver json-file --log-opt max-size=512m captain-registry
docker service update --log-driver json-file --log-opt max-size=512m captain-app1 # replace app 1 and app 2 with your app names
docker service update --log-driver json-file --log-opt max-size=512m captain-app2 # replace app 1 and app 2 with your app names
captainduckduck deploy
now shows the build logs.docker service update srv-captain--app-name --log-driver json-file --log-opt max-size=2048m
docker container prune
to clean up stopped containersNew:
nginx-shared
directory for using custom files in nginx container (https://github.com/githubsaturn/captainduckduck/issues/71). Using this combined with customized nginx config, you can use custom SSL certificates, custom static assets and etc.Improved:
Fixed:
CLI (1.0.9):
--default
flag to captainduckduck deploy
to avoid re-entering server address and other information.Fixed:
Improved:
CLI improvements (1.0.8)
captain-definition
file.Features:
captain42
Bugfixes:
0
is not respected. FIXED. https://github.com/githubsaturn/captainduckduck/issues/48#issuecomment-352289264
Breaking Change:
--publish-add
flag, you don't need to worry about this.Hotfix:
A major release!! 🎉🎉
New Features:
Improvements: