Add compose stuff to container.yml
authorLorin Hochstein <lhochstein@netflix.com>
Mon, 1 May 2017 04:18:58 +0000 (21:18 -0700)
committerLorin Hochstein <lhochstein@netflix.com>
Mon, 1 May 2017 04:18:58 +0000 (21:18 -0700)
ans-con/container.yml

index 8b53ed8..139879d 100644 (file)
@@ -6,6 +6,17 @@ services:
     from: nginx
     roles:
       - ghost-nginx
+    ports:
+      - "8443:443"
+      - "8000:80"
+    volumes:
+      - ${PWD}/certs:/certs
+    links:
+      - ghost
+  ghost:
+    from: ghost
+    volumes:
+      - ${PWD}/ghostdata:/var/lib/ghost
 registries:
   docker:
     namespace: ansiblebook