Commit b4dec34b by marwan

Update docker-compose.yaml

parent 5a8b0045
...@@ -2,8 +2,9 @@ services: ...@@ -2,8 +2,9 @@ services:
flowengine: flowengine:
image: dock.nexpie.com/stack/flowengine:1.3.5-2-f633d8d2 image: dock.nexpie.com/stack/flowengine:1.3.5-2-f633d8d2
volumes: volumes:
- /usr/local/flowengine/flowengine-${SH_PROJECTPODID}/flow-data:/usr/local/flowengine - flowengine-${SH_PROJECTPODID}/flow-data:/usr/local/flowengine
- /usr/local/flowengine/flowengine-${SH_PROJECTPODID}/store-data:/usr/local/store-data - flowengine-${SH_PROJECTPODID}/store-data:/usr/local/store-data
- Gluster/
environment: environment:
PROJECT_ID: "${SH_PROJECT_ID}" PROJECT_ID: "${SH_PROJECT_ID}"
OAUTH_LOGIN: "TRUE" OAUTH_LOGIN: "TRUE"
...@@ -24,7 +25,12 @@ services: ...@@ -24,7 +25,12 @@ services:
reservations: reservations:
cpus: '0.1' cpus: '0.1'
memory: '128M' memory: '128M'
networks: # networks:
default: # default:
name: swarm-flowengine-net # name: swarm-flowengine-net
external: true # external: true
Volumes:
flowengine-${SH_PROJECTPODID}:
Driver: glusterfs
Driver_opts:
Endpoint: "server:/path/to/gluster/volume"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment