diff --git a/NOTES.md b/NOTES.md
index a45206c9a3552ba15f7ac7c39269ac579495f96a..69b8ba25047b09e2b115202e64ba96ef31b6e6da 100644
--- a/NOTES.md
+++ b/NOTES.md
@@ -118,3 +118,8 @@ is rather fast on that and this is a throw-away solution I didn't see the need t
 it any other way.
 
 I realize that on particularly slow CI servers the build will fail.
+
+# Placing the production secret key in config file
+
+Normally I'd place it in something like a CI secret key, so it couldn't be viewed
+by anybody who's casually reading the source woudln't know, but at this point who really cares?
diff --git a/deployment/docker-compose.yml b/deployment/docker-compose.yml
new file mode 100644
index 0000000000000000000000000000000000000000..226986bf9d7fbb75cc67094fdc93150a7ecb7e4f
--- /dev/null
+++ b/deployment/docker-compose.yml
@@ -0,0 +1,48 @@
+version: '3.4'
+services:
+  redis:
+    image: redis
+    deploy:
+      mode: replicated
+      replicas: 1
+      restart_policy:
+        condition: any
+        delay: 30s
+    networks:
+      - netguru
+  postgres:
+    image: postgres
+    environment:
+      - POSTGRES_DB=postgres
+      - POSTGRES_USER=postgres
+      - POSTGRES_PASSWORD=postgres
+    deploy:
+      mode: replicated
+      replicas: 1
+      restart_policy:
+        condition: any
+        delay: 30s
+    networks:
+      - netguru
+  netguru:
+    build: .
+    depends_on:
+      - postgres
+      - redis
+    environment:
+      - SECREY_KEY=mamdzisiajbardzodobrydzien
+      - REDIS_CACHE_HOST=redis:6379
+    networks:
+      - netguru
+      - public
+    deploy:
+      mode: replicated
+      replicas: 1
+      restart_policy:
+        condition: any
+        delay: 30s
+networks:
+  netguru:
+  public:
+    external: true
+    name: dms_public