Silex Docker is the repository for deploying the services of the pipeline.
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 port80
.You can modify the
nginx.conf
configuration file to change the DNS pointing to your server. By default it'skitsu.(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
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.
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
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.
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
-
Why credentials are not supported when Access-Control-Allow-Origin * (also see this thread)
-
How to bypass Access-Control-Allow-Origin * and still allow all origins
Pull requests and issues are welcome. For major changes, please open an issue first to discuss what you would like to change.
Visit cg-wire.com for more information.
This repository is based on a repository from Mathieu BOUZARD: docker-cgwire
.