|
@@ -0,0 +1,24 @@
|
|
|
|
+version: '3'
|
|
|
|
+
|
|
|
|
+services:
|
|
|
|
+ cpee:
|
|
|
|
+ image: "cpee:1.4.25"
|
|
|
|
+ network_mode: "host" # Temporary workaround for using localhost address in process templates
|
|
|
|
+ ports:
|
|
|
|
+ - "8298:8298"
|
|
|
|
+ volumes:
|
|
|
|
+ - cpeeCockpit:/cpee-cockpit
|
|
|
|
+ - cpeeServer:/cpee-server
|
|
|
|
+ nginx:
|
|
|
|
+ image: "nginx:alpine"
|
|
|
|
+ ports:
|
|
|
|
+ - "9111:80"
|
|
|
|
+ volumes:
|
|
|
|
+ - cpeeCockpit:/usr/share/nginx/html/cockpit:ro
|
|
|
|
+ # Note, that the js libs had to be manually downloaded,
|
|
|
|
+ # they aren't part of the cpee gem.
|
|
|
|
+ - /var/www/html/js_libs:/usr/share/nginx/html/js_libs:ro
|
|
|
|
+volumes:
|
|
|
|
+ # System managed volumes
|
|
|
|
+ cpeeCockpit:
|
|
|
|
+ cpeeServer:
|