Giter VIP home page Giter VIP logo

docker-strider's Introduction

docker-strider

This repository includes a Dockerfile and Docker Compose file for creating a Strider CI installation.

Usage

  • Compile the image:
docker build -t strider/strider .

The included Docker Compose file is an example and should be customized to fit your needs, but can be used as is for a quick demo by adding strider.example.com to your hosts file as an alias for 127.0.0.1.

  • Use Compose:
docker-compose up -d

The initial launch may take a moment as some plugins are installed. Once launched, the container's copy of those plugins will persist, and future launches will be faster.

Customization

The following is suggested to customize the Docker Compose installation to your needs:

  • Change the URL env vars

Strider requires that the SERVER_NAME variable be set to its base, externally reachable URL. If you were to restrict Strider to being reached only over HTTPS, you might change the URL to similarly be HTTPS.

  • Raise the CONCURRENT_JOBS env var

This number is 1 by default.

  • Change the SMTP server env vars

As in the Strider documentation, environment variables to configure SMTP are available.

  • Change the initial admin username or password env vars

This feature is specific to this image. When the container comes up for the first time (or if you delete the .admin_user_created file in the root of the image), a user with the specified name and password will be created.

However, if the user already exists, it may cause the container to crash when strider-cli asks for confirmation to force override. Create a file at /.admin_user_created, or blank the STRIDER_ADMIN_EMAIL variable to stop the auto-creation.

  • Change the initial plugins env var

The STRIDER_PLUGINS variable is a space separated list of plugin names to be installed when the container is run for the first time. It must include at least one task runner (simple-runner is a good starting point) or the container will crash.

  • Serve Strider through HTTPS

As seen in the jwilder/nginx-proxy image documentation, put an SSL cert as <domain name>.crt and <domain name>.key in the volumes/ssl directory to serve over HTTPS. You can then remove the port-forwarding of 80:80 in the nginx service.

docker-strider's People

Contributors

tprobinson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.