Commit 1b10f5e7 authored by Ryan Herbert's avatar Ryan Herbert

vidjil.docker.service example systemd docker service

Added an example of a systemd service to start a docker-compose
environment.
parent 7f8eb3f5
[Unit]
# An example of a systemd service one would use to start their vidjil environment with docker compose
Description=Vidjil Server environment
Requires=docker.service
After=docker.service
[Service]
Restart=always
ExecStart=/usr/local/bin/docker-compose -f /path/to/docker/docker-compose.yml up
ExecStop=/usr/local/bin/docker-compose -f /path/to/docker/docker-compose.yml stop
[Install]
WantedBy=local.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment