Last active
May 5, 2020 19:23
-
-
Save gegere/18c37dd02c0acc6dcddf3e99c302130e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to run docker-compose up -d at system start up? | |
# https://stackoverflow.com/a/43672627 | |
# | |
# crontab -e | |
# | |
# Install Compose on Linux systems | |
# https://docs.docker.com/compose/install/#install-compose | |
# | |
# | |
# Install using the repository | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository | |
# | |
# | |
# How can I use docker without sudo? | |
# https://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo | |
# sudo groupadd docker | |
# sudo gpasswd -a $USER docker | |
# | |
# | |
# | |
52 0,12 * * * root docker exec apache_hg-web_1 certbot-auto renew --quiet | |
@reboot (sleep 10s ; cd /home/epic/Docker/Apache ; /usr/local/bin/docker-compose up -d )& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment