<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>docker on Daniel Pullan</title><link>https://danielpullan.co.uk/tags/docker/</link><description>Recent content in docker on Daniel Pullan</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Tue, 26 Oct 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://danielpullan.co.uk/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Simpsons API</title><link>https://danielpullan.co.uk/projects/simpsonsapi/</link><pubDate>Tue, 26 Oct 2021 00:00:00 +0000</pubDate><guid>https://danielpullan.co.uk/projects/simpsonsapi/</guid><description>&lt;p&gt;One of my most recents project was &lt;a href="https://github.com/danielpullan/simpsonsapi"&gt;Simpsons API&lt;/a&gt;. It&amp;rsquo;s a basic &lt;a href="https://flask.palletsprojects.com"&gt;Flask&lt;/a&gt; application which I then put into a Docker Container.&lt;/p&gt;
&lt;h2 id="the-application-itself"&gt;The application itself&lt;/h2&gt;
&lt;p&gt;It&amp;rsquo;s pretty simple, the core of the application is an array of quotes from The Simpsons.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;quotes = ['I like my beer cold… my TV loud… and my homosexuals flaming.',
		'I am so smart. I am so smart. S-M-R-T, I mean S-M-A-R-T.', 
		'You’ll have to speak up. I’m wearing a towel.', 
		'Oh, look! Pantyhose. Practical and alluring']
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is then accessed by the secrets library and returned as a variable called data whilst our template is rendered.&lt;/p&gt;</description></item></channel></rss>