You can not 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 0675930ee2
manager: silly attempt to fix check_service_exists regression
4 weeks ago
.git-assets adding audit screenshot 3 years ago
images nfs-sync: now work with rsync 3 months ago
routines certs: update status script 3 months ago
services fail2ban-client: adding more PIDs 4 weeks ago
tools manager: ENABLE_IPV6 option in network setup script 1 month ago
.gitignore adding ability to exclude services from audit 11 months ago
.gitmodules attempt to rename log2stats submodule 11 months ago
README.md adding more doc 2 months ago
manager.sh manager: silly attempt to fix check_service_exists regression 4 weeks 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.