Skip to content

Releases: andreaskoch/dcsg

Improved systemd reliability

16 May 06:53
Compare
Choose a tag to compare

Improved the restart reliability of docker projects by improving the systemd service template (thanks to @Hermsi1337).

see: #6

Timeout and Restart Policies

11 Mar 10:18
Compare
Choose a tag to compare

@Hermsi1337 added a timeout and restart policies to the systemd service template.

Closes andreaskoch/dscg#4

systemd service improvements

02 Feb 19:36
Compare
Choose a tag to compare
  • Pull images before starting
  • Stop the containers before removing them

Thanks to @Hermsi1337

Set Systemd Working Directory

18 Dec 21:12
Compare
Choose a tag to compare
Pre-release

This version sets the WorkingDirectory in the systemd service files because otherwise docker-compose messes up the paths for the env_file.

https://www.freedesktop.org/software/systemd/man/systemd.exec.html
https://docs.docker.com/compose/compose-file/#/envfile

The Prototype

18 Dec 10:13
Compare
Choose a tag to compare
The Prototype Pre-release
Pre-release

A first working version of dcsg. A systemd service generator for Docker Compose projects.

Usage

Install

Register a Docker Compose project as a systemd service:

dcsg install <path-to-a-docker-compose.yml> <optional-project-name>

The install action will create a systemd service in /etc/systemd/system/<project-name>.service and enable that service.

Uninstall

Uninstall the systemd service for the given Docker Compose project:

dscg uninstall <path-to-a-docker-compose.yml> <optional-project-name>

The uninstall action will disable the service <project-name>.service and remove the systemd service from /etc/systemd/system/<project-name>.service.