Skip to content

ArtFXDev/silex-docker

Repository files navigation

Silex Docker

Silex Docker is the repository for deploying the services of the pipeline.

Introduction

To deploy Silex, the following services are needed:

  • nginx -> this is the reverse proxy responsible for redirecting requests to the server to the appropriate services. It runs on the port 80.

    You can modify the nginx.conf configuration file to change the DNS pointing to your server. By default it's kitsu.(prod|preprod).silex.artfx.fr

  • silex-front -> the Silex frontend application: silex-front. It's bundled in the Nginx container itself.

  • kitsu -> the CGWire web interface of Zou. It's bundled in the Nginx container itself.

  • zou -> the CGWire REST api. It's pointing to our fork.

  • postgresql -> the database used by Zou to store the pipeline data

  • redis -> The queue system used by Zou

Installation

Prerequisites

The build.sh script need jq to be installed. On a debian based machine use:

$ sudo apt install jq

You'll also need docker-compose, install it on your platform here.

Install

Clone the repository and build the containers:

$ git clone --recurse-submodules https://github.com/ArtFXDev/silex-docker
$ bash build.sh --local # build and run local docker images

Usage

To start the containers, just use:

$ bash build.sh --local # or -l for short

To shutdown all the containers and clean it, use the --down / -d option.

Update

silex-front and our fork of zou are installed as git submodules. To update them in case of a newer version, do:

$ git pull
$ git submodule update --remote

Documentation

Contributing

Pull requests and issues are welcome. For major changes, please open an issue first to discuss what you would like to change.

Special Thanks

Visit cg-wire.com for more information.

CGWire Logo

This repository is based on a repository from Mathieu BOUZARD: docker-cgwire.

License

Apache-2.0 @ArtFX