]> Untitled Git - godot-builder.git/blobdiff - docker-compose.yml
Squashed commit of the following:
[godot-builder.git] / docker-compose.yml
index 094e53b8c1793c364a233e0015216b921e0a62b7..5533030f4cd7084ee4202147134a89877bc8f728 100644 (file)
@@ -1,19 +1,36 @@
 version: '3'
 services:
-    godot-builder:
-        build: .
-        image: cjpalmer/godot-builder:0.2.0
+    web:
+        build: ./nginx
+        image: cjpalmer/godot-web:$DOCKER_TAG
         volumes:
-        - godot-build:/build
+        - ./nginx/conf.d/:/etc/nginx/conf.d/
+        - godot-build-dev:/build
+        depends_on:
+        - redis
+        ports:
+        - 80:80
+    redis:
+        image: redis:alpine
+    hook:
+        build: ./hook
+        image: cjpalmer/godot-webhook:$DOCKER_TAG
+        depends_on:
+        - redis
+    builder:
+        build: ./builder
+        image: cjpalmer/godot-builder:$DOCKER_TAG
+        volumes:
+        - godot-build-dev:/build
         - godot-project:/project
-        environment:
-        - URI_PROJECT_SNAPSHOT=https://git.purplebirdman.com/wolf-seeking-sheep.git/snapshot/refs/heads/big-rick.tar.gz
+        depends_on:
+        - redis
 volumes:
-    godot-build:
+    godot-build-dev:
         driver: local
         driver_opts:
             o: bind
             type: none
-            device: /srv/build
+            device: /srv/godot-builder/dev
     godot-project:
         driver: local