|
@@ -1,24 +1,24 @@
|
|
version: '3'
|
|
version: '3'
|
|
|
|
|
|
services:
|
|
services:
|
|
|
|
+
|
|
cpee:
|
|
cpee:
|
|
- image: "cpee:1.4.26"
|
|
|
|
- network_mode: "host" # Temporary workaround for using localhost address in process templates
|
|
|
|
|
|
+ build: ./cpee
|
|
|
|
+ network_mode: "host" # Enable using 'localhost' in process templates
|
|
ports:
|
|
ports:
|
|
- "8298:8298"
|
|
- "8298:8298"
|
|
volumes:
|
|
volumes:
|
|
- cpeeCockpit:/cpee-cockpit
|
|
- cpeeCockpit:/cpee-cockpit
|
|
- - cpeeServer:/cpee-server
|
|
|
|
|
|
+
|
|
nginx:
|
|
nginx:
|
|
image: "nginx:alpine"
|
|
image: "nginx:alpine"
|
|
ports:
|
|
ports:
|
|
- - "9111:80"
|
|
|
|
|
|
+ - "9090:80"
|
|
volumes:
|
|
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
|
|
|
|
|
|
+ - cpeeCockpit:/usr/share/nginx/html/cpee-cockpit:ro
|
|
|
|
+ - ./cpee/js_libs:/usr/share/nginx/html/js_libs:ro
|
|
|
|
+
|
|
volumes:
|
|
volumes:
|
|
# System managed volumes
|
|
# System managed volumes
|
|
cpeeCockpit:
|
|
cpeeCockpit:
|
|
- cpeeServer:
|
|
|
|
|
|
+
|