@githubsaturn githubsaturn released this May 16, 2018 · 46 commits to master since this release

Assets 2

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 #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.

@githubsaturn githubsaturn released this May 14, 2018 · 57 commits to master since this release

Assets 2

Added:

  • Ability to override default values. This includes overriding default Captain dashboard subdomain and etc.
  • Allowing precheck for wildcard domain to be skipped if the provider doesn't support wildcard
  • One-click apps can now be deployed with specific tags (versions)
  • The user can now optionally change the instance count of persistent apps.
  • Unused images clean up added to settings

Improved:

  • Back button works as expected in apps settings page
  • Sticky footer for Save and Delete buttons on the app page
  • Move Docker registry settings to Nodes page from the main dashboard page
  • Revealing real IP by using mode=host for nginx

@githubsaturn githubsaturn released this Feb 10, 2018 · 92 commits to master since this release

Assets 2

Added:

  • Build logs are now available on web dashboard, you can view build logs initiated with Github webhooks as well.
  • Added Redis as a one-click app
  • Added prechecks on OS and Docker version when installing CaptainDuckDuck to ensure maximum compatibility

Fixed:

  • NetData container removal is retrofitted to avoid some Docker deadlocks
  • Flashing issue for logged out state on Dashboard
  • Login issue on small phone screen
  • Fixed issue with very long domain names

Improved:

  • Default client max size for Captain is changed to 500mb
  • Message for self-hosted registry is changed to be more clear so user won't be surprised with an expected error
  • More details on error messages related to custom domains

@githubsaturn githubsaturn released this Jan 11, 2018 · 138 commits to master since this release

Assets 2

Fixed:

  • Third-party private registries limited via username scope were not correctly getting authenticated (81fe040)

Improved:

  • Push error are now throwing proper error rather than confusing 500 error
  • If something fails when app is getting created, the premature entry is now automatically deleted from the app database

@githubsaturn githubsaturn released this Jan 9, 2018 · 142 commits to master since this release

Assets 2

BREAKING CHANGES::

  • Make sure that your CLI version is at least 1.0.11
    -- To check your current version: captainduckduck -V
    -- To update: sudo npm install -g captainduckduck
  • Breaking change in your captain-definition files:
    -- if you have python as your template, you should change it to python-django
  • Setting a max on log size files does not apply to existing containers. To use the same log size cap for current services, run:
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

Features added:

  • Ruby/Rack support added (see #45)
  • Support for showing build logs when deploying via command line added (b64c317). Simply running captainduckduck deploy now shows the build logs.
  • Added CouchDB as one-click app

Improved:

  • Added UDP protocol to Port Forwarding (previously it was only TCP)
  • Container log files are now maxed at 512MB per container by default in order to avoid high unnecessary disk usage. It can be changed by updating service manually, e.g., docker service update srv-captain--app-name --log-driver json-file --log-opt max-size=2048m
  • Captain now runs a docker container prune to clean up stopped containers
  • NetData startup script improved and auto restart is now enabled by default
  • Wrong app name during deploy now returns a more specific message to hint the user instead of plain 500

@githubsaturn githubsaturn released this Dec 31, 2017 · 180 commits to master since this release

Assets 2

New:

  • Added ability to Enorce HTTPS for apps! (#2)
  • Advanced users are now able to customize their nginx configurations (allowing http2, process counts, cache config, custom redirects and etc). #44
  • Added a custom nginx-shared directory for using custom files in nginx container (#71). Using this combined with customized nginx config, you can use custom SSL certificates, custom static assets and etc.
  • Persistent directories (volumes) can now be specified as path on host machine.

Improved:

  • Health-check calls are now more reliable with the newly added timeout.

Fixed:

  • Force HTTPS button on web dashboard now gets disabled if Force HTTPS is activated. (efc4384)

CLI (1.0.9):

  • Added a --default flag to captainduckduck deploy to avoid re-entering server address and other information.

@githubsaturn githubsaturn released this Dec 27, 2017 · 210 commits to master since this release

Assets 2

Fixed:

  • In cluster mode, the initial instance was always getting created on main node due to wrong image tag (c6e9e4b)
  • GitLab support added for automated deployment

Improved:

  • Deploy now reports all kinds of errors. No more ambiguous status 500 error.
  • Changed healthcheck interval to 20sec from 5sec to make the logs less verbose

CLI improvements (1.0.8)

  • Fixed logout causing all other instances to get logged out
  • Improved deploy process by pre-checking captain-definition file.
  • Improved saving app name if it's getting re-deployed.

@githubsaturn githubsaturn released this Dec 19, 2017 · 248 commits to master since this release

Assets 2

Features:

  • :octocat: automatic branch tracking and deployment through Github and Bitbucket 🎊
  • Added ability to expose container ports and map them to host ports
  • Adding ability to change nodeId of apps with persistent data
  • Added ability to set a custom initial password instead of captain42
  • Allow customDomain === rootDomain, see #24
  • Improve build error messages by including last 20 lines of logs that led to build error.
  • Changed max request size to 500mb for apps (temporary solution until fully customizable nginx config is ready)

Bugfixes:

Breaking Change:

  • If you were manually setting port mapping on your containers before this release, make sure to re-map them through Captain interface. Since port mapping is added to the interface, Captain would override the current port mapping that you might have on your containers. If you didn't manually modified your containers --publish-add flag, you don't need to worry about this.

@githubsaturn githubsaturn released this Dec 5, 2017 · 313 commits to master since this release

Assets 2

Hotfix:

  • Fix a bug in web UI that was introduced in v0.2.1. Save configuration button was not functioning.

@githubsaturn githubsaturn released this Dec 4, 2017 · 314 commits to master since this release

Assets 2

A major release!! πŸŽ‰πŸŽ‰

New Features:

  • Support for Persistent Data:
    Previously, Captain only had support for apps with no persistent. The main drawback was that one could not deploy a database using Captain. Now the feature is fully supported.
  • One-click apps:
    This is perhaps the most interesting feature of new release. Although adding support for persistent data, technically speaking, was enough for the developers to deploy databases. But wouldn't it be nicer if installing MySql, MongoDB and etc becomes as easy as selecting a name from a list? πŸ˜‰ Done! Not only that, off-the-shelf apps are being slowly added to this list. Installing WordPress, Parse-Server, Tumbor is now as easy as installing apps on your phone!

Improvements:

  • New tabular design for the apps page enables you to have tens of apps and be able to navigate easily from one to another.
  • Deployment from the web interface now accepts tar archive files of the source directory, not necessarity content. See #22