Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.2.0 #24

Merged
merged 45 commits into from
Mar 15, 2018
Merged

Release v1.2.0 #24

merged 45 commits into from
Mar 15, 2018

Conversation

lmakarov
Copy link
Member

@lmakarov lmakarov commented Mar 12, 2018

  • Increased proxy buffers to 256k (Increase proxy buffers to 256k #19)
  • Added support to configure routing to a non-standard port via io.docksal.virtual-port label (Support routing to custom container ports #20)
  • HTTP/2 support. Fixes How to enable http/2 ? #17
  • Version updates
    • docker 17.09.1-ce
    • docker-gen 0.7.4
  • Logging
    • Added timestamp and caller header in logs from proxyctl
    • STATS_LOG=1 - turns on projects stats and aggregated project stats logs (useful for log analysis)
    • ACCESS_LOG=1 - turns on access logging
    • DEBUG_LOG=1 - turns on debug logging
  • Misc
    • supervisord config updates (less warnings and cleaner logs)
    • Added templating support for configs via gotpl
    • Tests refactoring and updates
    • Pushing images to Docker Hub via Travis

lmakarov and others added 30 commits August 8, 2017 12:27
Override the main supervisord config file, since some parameters are not overridable via an include
See Supervisor/supervisor#962
- Made supervisord complain even less with `user = root`
- Adjusted crond logging level to have less spam in logs from it
Increase proxy buffers to 256k
- Make it possible to turn access logging in nginx on/off (off by default) using env PROXY_ACCESS_LOG variable
- Added templating support for configs via gotpl
This was only necessary in _start(), which is triggered by lua in nginx and did not have the necessary PATH values set in environment
Project starts are printed every time _cron is triggered (every 5 minutes at the moment).
Prints: project name, created (ago), status, permanent flag
- stats now include: project_name, created, status, permanent, active, dangling
- removed leading underscore from all functions
- added LOG_PREFIX
- made conditions in stop and cleanup more flat
- using docker built-in prune commands for cleanups
- use a standard filter for docker ps: web containers, part of a dc project, managed by Docksal
- Run cron every minutes
- Run cleanup every hour
- Run stop then stats on cron
Use label=io.docksal.project-root (instead of label=com.docker.compose.service=web) as the primary service identifier.
- Renamed PROXY_ACCESS_LOG to ACCESS_LOG
- Renamed PROXY_DEBUG to DEBUG_LOG
- Added STATS_LOG
Make generated nginx config more readable
Now virtual port is configuration via io.docksal.virtual-port label instead of VIRTUAL_PORT env variable
- proxyctl start/stop
- updated and fixed tests
- using plain HTML projects instead of drupal7/drupal8
Use http://nonsense.docksal for a non-existing project test case.
- exposed proxyctrl stats command
- fixed debug output of configs
- added logging in cron()
- addressed race conditions between tests and cron jobs inside the container
- fin aliases can now be used (fixed in docksal/docksal@4e0b4d8)
- added cron test
- removing the projects directory
- running fin cleanup
- "Proxy can route request to a non-default port (project)"
- "Proxy can route request to a non-default port (standalone container)"
@lmakarov lmakarov self-assigned this Mar 12, 2018
- docker 17.09.1-ce
- docker-gen 0.7.4
@lmakarov lmakarov merged commit 2a65974 into master Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant