Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowengine-docker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template
flowengine-docker
Commits
84f4b05a
Commit
84f4b05a
authored
Oct 18, 2023
by
marwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docker-compose.yaml
parent
d80d134e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
45 deletions
+29
-45
docker-compose.yaml
+29
-45
No files found.
docker-compose.yaml
View file @
84f4b05a
...
@@ -2,9 +2,11 @@ services:
...
@@ -2,9 +2,11 @@ services:
app
:
app
:
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
-
.
/flow-data:/usr/local/flowengine
-
/usr/local/flowengine/flowengine-${SH_PROJECTPODID}
/store-data:/usr/local/store-data
-
.
/store-data:/usr/local/store-data
# - Gluster/
# - Gluster/
ports
:
-
30081:80
environment
:
environment
:
PROJECT_ID
:
"
${SH_PROJECT_ID}"
PROJECT_ID
:
"
${SH_PROJECT_ID}"
OAUTH_LOGIN
:
"
TRUE"
OAUTH_LOGIN
:
"
TRUE"
...
@@ -17,59 +19,40 @@ services:
...
@@ -17,59 +19,40 @@ services:
OAUTH_CLIENT_SECRET
:
${SH_OAUTH_CLIENT_SECRET}
OAUTH_CLIENT_SECRET
:
${SH_OAUTH_CLIENT_SECRET}
TOKEN_ENDPOINT
:
https://auth.nexiiot.io/oauth/token
TOKEN_ENDPOINT
:
https://auth.nexiiot.io/oauth/token
USERINFO_API_ENDPOINT
:
https://auth.nexiiot.io/api/userinfo
USERINFO_API_ENDPOINT
:
https://auth.nexiiot.io/api/userinfo
deploy
:
resources
:
limits
:
cpus
:
'
0.2'
memory
:
'
256M'
reservations
:
cpus
:
'
0.1'
memory
:
'
128M'
influxdb
:
influxdb
:
image
:
docker.io/bitnami/influxdb:2.7.1
image
:
docker.io/bitnami/influxdb:2.7.1
#
ports:
ports
:
# - 38086
:8086
-
38087
:8086
# - 38088
:8088
-
38089
:8088
environment
:
environment
:
-
INFLUXDB_ADMIN_USER_PASSWORD=nexiiotpassword
-
INFLUXDB_ADMIN_USER_PASSWORD=nexiiotpassword
-
INFLUXDB_ADMIN_USER_TOKEN=nexiiottoken
-
INFLUXDB_ADMIN_USER_TOKEN=nexiiottoken
-
influxdb_primary_bucket=primary
-
influxdb_admin_organization=primary
-
influxdb_retention_period=4320
#24 * 180 อายุข้อมูล
-
INFLUXDB_MONITOR_STORE_DATABASE="primary"
-
INFLUXD_UI_DISABLED=false
-
INFLUXD_REPORTING_DISABLED=false
-
INFLUXD_NO_TASKS=false
-
INFLUXD_METRICS_DISABLED=false
volumes
:
volumes
:
-
/usr/local/flowengine/flowengine-${SH_PROJECTPODID}/influxdb:/bitnami/influxdb
-
influxdb:/bitnami/influxdb
deploy
:
-
./bash-influx:/bitnami/
resources
:
limits
:
cpus
:
'
0.2'
memory
:
'
256M'
reservations
:
cpus
:
'
0.1'
memory
:
'
128M'
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
grafana
:
grafana
:
image
:
docker.io/bitnami/grafana:10
image
:
docker.io/bitnami/grafana:10
#
ports:
ports
:
# - '3000
:3000'
-
'
33011
:3000'
environment
:
environment
:
-
'
GF_SECURITY_ADMIN_PASSWORD=nexiiot'
-
'
GF_SECURITY_ADMIN_PASSWORD=nexiiot'
volumes
:
volumes
:
-
grafana_data:/opt/bitnami/grafana/data
-
grafana_data:/opt/bitnami/grafana/data
deploy
:
-
./grafana/datasources:/opt/bitnami/grafana/conf/provisioning/datasources/
resources
:
-
./grafana/dashboard/templates:/var/lib/dashboards
limits
:
-
./grafana/dashboard/conf:/opt/bitnami/grafana/conf/provisioning/dashboards/
cpus
:
'
0.2'
memory
:
'
256M'
volumes
:
reservations
:
grafana_data
:
cpus
:
'
0.1'
driver
:
local
memory
:
'
128M'
influxdb
:
driver
:
local
networks
:
\ No newline at end of file
default
:
name
:
swarm-flowengine-net
external
:
true
# Volumes:
# flowengine-${SH_PROJECTPODID}:
# Driver: glusterfs
# Driver_opts:
# Endpoint: "glusterfs-node3:/k8s-volume/flowengine"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment