You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
neil 07deb99702 Merge pull request 'Little fix on distribution check (adding lowercase)' (#7) from install-sh-dotfiles-ubuntu into root
Reviewed-on: #7
3 days ago
.git-assets
images adhvalidator: do not include explicit image variant in version tag 2 months ago
routines log2stats: update commits 4 months ago
services mail: update to v12.1.0 2 weeks ago
tools Little fix on distribution check (adding lowercase) 4 days ago
.gitignore
.gitmodules
README.md adding more doc 6 months ago
manager.sh manager: enforce usage of docker buildkit 2 months ago

README.md

core

All service deployment files (Dockerfiles, docker-compose, tools) used for 42l's production server.

Folder architecture diagram

Installation

This repository must be cloned in the docker users home folder (/home/$USER/core). This path is hardcoded here but should be quite easy to customize. For most of our production uses, this path will be used.

Usage

manager register

Creates the manager symlink in /usr/local/bin and register autocompletions for the fish shell.

For the first run, you should directly execute ./manager.sh register so manager is effective from any working directory.

manager start|stop|restart|reload <service_name>

Control containers listed in services/.

manager build <service_name>

Build Docker images for containers listed in services/. Can only work if the service has a Dockerfile.

manager image start <image_name>

Start one of the images listed in images/ for temporary use.

manager image build <image_name>

Build one of the Docker images listed in images/. Can only work if the image has a Dockerfile.

manager audit [service_name]

Lists all containers and displays security information and other runtime parameters. See below.

Does not list services containing the .disabled file in their folder.

Manager's audit function

License

This repository and its contents are under the MPL-2.0 license.