• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cts-admin / cts / 43
40%
master: 37%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/cts/py-1.10.0
DEFAULT BRANCH: master
Ran 02 Apr 2018 11:04PM UTC
Jobs 2
Files 2853
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
43

push

travis-ci

TechnoConserve
Docker-Compose Production Deployment Overhaul

Which the deprecation of Docker Cloud, many files were reworked to allow for parallel development and production deployments via Docker-Compose.

Django settings files were amended to accept environment variables geared towards their the docker containers the django code will run inside, as well as to function on a new host with a different IP address.

A .dockerignore file was included to reduce clutter and file size of the resulting containers.

The docker-compose file was simplified to remove some unnecessary build and volume declarations.

The django Dockerfile was modified to improve security by establishing an unprivileged user that would own and run all of the django code.

The celery worker my modified slightly to better conform to recommended deployment configuration.

The django run script now loads fixtures based on an environmental variable so as to allow for differences in production/development environments. A timeout parameter was also added to the gunicorn launch script to address timeout errors.

Nginx files were refactored to avoid needing separate development/production files. Environmental variables were inserted into areas that may require different values between the two environments. The entryscript was also modified to give appropriate permissions to all static files expected to be served by nginx.

The example django environment file was modified to reflect the changes in use of environment variables.

Signed-off-by: Avery Uslaner <uslaner.avery@gmail.com>

110044 of 276041 relevant lines covered (39.87%)

0.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43.1 (DJANGO=1.11.7) 02 Apr 2018 11:04PM UTC 0
40.09
Travis Job 43.1
2 43.2 (DJANGO=1.11.7) 02 Apr 2018 11:04PM UTC 0
40.08
Travis Job 43.2
Source Files on build 43
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #43
  • 37820d38 on github
  • Prev Build on docker (#42)
  • Next Build on docker (#45)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc