A simple example of a docker-compose.yml exposed for testing with Install On Digital Ocean button
For now just a shell script to throw into the Create Droplet pipeline.
Copy and paste the following into the User Data field in the Create Droplet form:
#!/bin/sh
export ftpuser='ftpuser' #replace with user of your choosing
export ftppass='Secret1!' #obviously replace with a secret password
wget -O - https://raw.githubusercontent.com/frugalfirbolg/wordpress-with-docker-compose/master/user-data.sh | sh && \
unset ftpuser && \
unset ftppass;
Don't forget the #!/bin/sh at the beginning or Digital Ocean will not execute the script!
Then wait for a couple minutes and check the console to confirm that everything ran successfully.
Logs are located in:
/var/log/cloud-init-output.log
This snippet is provided without warranty or guarantee.