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
da7b1704
Commit
da7b1704
authored
Oct 31, 2023
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ebea94ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
111 additions
and
0 deletions
+111
-0
docker-portainer.yaml
+111
-0
No files found.
docker-portainer.yaml
0 → 100644
View file @
da7b1704
services
:
influxdb
:
image
:
docker.io/bitnami/influxdb:2.7.1
# ports:
# - 38087:8086
# - 38089:8088
environment
:
-
INFLUXDB_ADMIN_USER_PASSWORD=${NEXIIOT_INFLUXDB_ADMIN_USER_PASSWORD}
-
INFLUXDB_ADMIN_USER_TOKEN=${NEXIIOT_INFLUXDB_ADMIN_USER_TOKEN}
-
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
# - INFLUXDB_BIND_ADDRESS=http://127.0.0.1:8086/influxdb
volumes
:
-
influxdb:/bitnami/influxdb
influxdb_init
:
image
:
docker.io/bitnami/influxdb:2.7.1
depends_on
:
-
influxdb
entrypoint
:
[
"
bash"
,
"
-c"
,
"
bash
/bitnami/script/init.bash
$${INFLUXDB_ADMIN_ORGANIZATION}
$${INFLUXDB_ADMIN_USER_TOKEN}
http://influxdb:8086"
]
environment
:
-
INFLUXDB_ADMIN_USER_TOKEN=${NEXIIOT_INFLUXDB_ADMIN_USER_TOKEN}
-
INFLUXDB_ADMIN_ORGANIZATION=primary
volumes
:
-
./bash-influx:/bitnami/script
pg_grafana
:
container_name
:
pg_grafana
image
:
postgres:15
restart
:
always
environment
:
POSTGRES_DB
:
nexiiot_grafana_db
POSTGRES_USER
:
nexiiot_grafana_user
POSTGRES_PASSWORD
:
${ENV_POSTGRES_PASSWORD}
# ports:
# - "15432:5432"
volumes
:
-
pg_grafana:/var/lib/postgresql/data
grafana
:
image
:
docker.io/bitnami/grafana:10
# ports:
# - '33011:3000'
environment
:
-
GF_DATABASE_TYPE= postgres
-
GF_DATABASE_HOST= pg_grafana:5432
-
GF_DATABASE_NAME= nexiiot_grafana_db
-
GF_DATABASE_USER= nexiiot_grafana_user
-
GF_DATABASE_PASSWORD= ${ENV_POSTGRES_PASSWORD}
-
GF_DATABASE_SSL_MODE= disable
-
GF_SECURITY_ADMIN_PASSWORD=${NEXIIOT_GF_SECURITY_ADMIN_PASSWORD}
-
GF_SESSION_COOKIE_NAME=${NEXIIOT_GF_SESSION_COOKIE_NAME}
-
GF_LOG_LEVEL=${NEXIIOT_GF_LOG_LEVEL}
-
GF_SERVER_ROOT_URL=${NEXIIOT_GF_SERVER_ROOT_URL}
-
GF_SECURITY_ALLOW_EMBEDDING=${NEXIIOT_GF_SECURITY_ALLOW_EMBEDDING}
-
GF_AUTH_DISABLE_LOGIN_FORM=true
-
GF_AUTH_GENERIC_OAUTH_ENABLED=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ENABLED}
-
GF_AUTH_GENERIC_OAUTH_NAME=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_NAME}
-
GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP}
-
GF_AUTH_GENERIC_OAUTH_CLIENT_ID=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_CLIENT_ID}
-
GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET}
-
GF_AUTH_GENERIC_OAUTH_SCOPES=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_SCOPES}
-
GF_AUTH_GENERIC_OAUTH_AUTH_URL=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_AUTH_URL}
-
GF_AUTH_GENERIC_OAUTH_TOKEN_URL=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_TOKEN_URL}
-
GF_AUTH_GENERIC_OAUTH_API_URL=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_API_URL}
-
GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH}
-
GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT}
-
GF_AUTH_GENERIC_OAUTH_REQUIRED_ROLE=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_REQUIRED_ROLE}
-
GF_SERVER_serve_from_sub_path =
true
volumes
:
-
grafana_data:/opt/bitnami/grafana/data
-
./grafana/datasources:/opt/bitnami/grafana/conf/provisioning/datasources/
-
./grafana/dashboard/templates:/var/lib/dashboards
-
./grafana/dashboard/conf:/opt/bitnami/grafana/conf/provisioning/dashboards/
#- ./grafana/config/grafana.ini:/opt/bitnami/grafana/conf/grafana.ini
-
./ssh:/opt/bitnami/ssh
jupyter
:
image
:
jupyter/datascience-notebook:x86_64-ubuntu-22.04
# container_name: jupyter2
volumes
:
-
jupyter_data:/home/jovyan
ports
:
-
"
8888:8888"
environment
:
-
JUPYTER_TOKEN=${ENV_JUPYTER_TOKEN}
volumes
:
grafana_data
:
driver
:
local
influxdb
:
driver
:
local
jupyter_data
:
driver
:
local
pg_grafana
:
driver
:
local
networks
:
flow_net
:
external
:
true
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