Skip to content

Instantly share code, notes, and snippets.

@dmytrotkk
Created October 18, 2019 10:34
Show Gist options
  • Save dmytrotkk/8ea28b27b5f3dac9e5eb501fe42f0afd to your computer and use it in GitHub Desktop.
Save dmytrotkk/8ea28b27b5f3dac9e5eb501fe42f0afd to your computer and use it in GitHub Desktop.
Limit Docker volume size tutorial snippet
[Unit]
Description=Convoy volume management service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=5
ExecStart=convoy daemon --drivers devicemapper --driver-opts dm.datadev=$DISK_MOUNTPOINT\1 --driver-opts dm.metadatadev=$DISK_MOUNTPOINT\2
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment