Last active
January 16, 2024 02:18
-
-
Save rameerez/73ca5b1e53528fae3c2074bd4894556f to your computer and use it in GitHub Desktop.
Configure an AWS EC2 instance running Ubuntu Server to deploy Rails apps using Kamal (Docker)
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
#!/bin/bash | |
/usr/bin/env curl -fsSL https://get.docker.com | sh | |
sudo usermod -aG docker ${USER} | |
mkdir -p /letsencrypt && | |
touch /letsencrypt/acme.json && | |
chmod 600 /letsencrypt/acme.json | |
docker network create --driver bridge private |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment