- Select
Create Instace
from Lightsail console - Under
Select a blueprint
clickOS Only
and the chooseUbuntu
- Paste the following code snippet in the
Add launch script
box
curl -o lightsail-docker.sh https://raw.githubusercontent.com/dbertolotto/lightsail-docker/master/lightsail-docker.sh
chmod +x ./lightsail-docker.sh
./lightsail-docker.sh
By default the machine loads the file /docker/docker-compose.yml
upon start.
Taken and modified from https://github.com/mikegcoleman/todo