Commit 03b180cb by Chalermpong

Add new file

parents
services:
flowstack:
image: harbor.nexpie.com/flowstack/flowstack:2.1.0-401-f4da43ab
restart: always
ports:
- "${FLOWSTACK_PUBLIC_PORT}:80"
volumes:
- flowstack-flowengine:/app/store/flowdata
- ${WORKSPACE_HOST_PATH}:/workspace
- flowstack-storage:/app/volume
- /var/run/docker.sock:/var/run/docker.sock
- ./catalogue.json:/app/catalogue.json
environment:
- FLOWSTACK_NAME=${FLOWSTACK_NAME}
- FLOWENGINE_ENDPOINT=${FLOWENGINE_ENDPOINT}
- FLOWSTACK_JUPYTERNOTEBOOK_ENDPOINT=${JUPYTERNOTEBOOK_STACK_ENDPOINT}
- FLOWSTACK_CLOUDBEAVER_ENDPOINT=${CLOUDBEAVER_AUTH_PROXY_PROVIDER_URI}
- FLOWSTACK_MONGOGUI_ENDPOINT=${MONGOGUI_STACK_URI}
- FLOWSTACK_INFLUXDB_ENDPOINT=${INFLUXDB_STACK_ENDPOINT}
- FLOWSTACK_EDITOR_ENDPOINT=${EDITOR_ENDPOINT}
- FLOWSTACK_INFLUXDB_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
- FLOWSTACK_OAUTH_CLIENT_ID=${FLOWSTACK_OAUTH_CLIENT_ID}
- FLOWSTACK_OAUTH_CLIENT_SECRET=${FLOWSTACK_OAUTH_CLIENT_SECRET}
- FLOWSTACK_AUTH_PLATFORM_NAME=${FLOWSTACK_AUTH_PLATFORM_NAME}
- FLOWSTACK_AUTH_ENDPOINT=${FLOWSTACK_AUTH_ENDPOINT}
- FLOWSTACK_TOKEN_ENDPOINT=${FLOWSTACK_TOKEN_ENDPOINT}
- FLOWSTACK_USERINFO_API_ENDPOINT=${FLOWSTACK_USERINFO_API_ENDPOINT}
- FLOWSTACK_GQLV2_ENDPOINT=${FLOWSTACK_GQLV2_ENDPOINT}
- FLOWSTACK_OAUTH_LOGIN=${FLOWSTACK_OAUTH_LOGIN}
- FLOWSTACK_PASSWORD_LOGIN=${FLOWSTACK_PASSWORD_LOGIN}
- FLOWSTACK_ADMINISTRATOR_PASSWORD=${FLOWSTACK_ADMINISTRATOR_PASSWORD}
- FLOWSTACK_APP_MEMU=${FLOWSTACK_APP_MEMU}
- FLOWSTACK_APP_MENU_GRAFANA_URI=${FLOWSTACK_APP_MENU_GRAFANA_URI}
- FLOWSTACK_APP_MENU_NOTEBOOK_URI=${FLOWSTACK_APP_MENU_NOTEBOOK_URI}
- FLOWSTACK_APP_MENU_SCADA_URI=${FLOWSTACK_APP_MENU_SCADA_URI}
# - FLOWSTACK_PROJECT_ID=${FLOWSTACK_PROJECT_ID}
# - FLOWSTACK_USER_ID=${FLOWSTACK_USER_ID}
- FLOWSTACK_MAX_USER=${FLOWSTACK_MAX_USER}
- FLOWSTACK_API_MAX_LENGTH=${FLOWSTACK_API_MAX_LENGTH}
# - FLOWSTACK_CATALOGUE_PATH=${FLOWSTACK_CATALOGUE_PATH}
###### env สำหรับ services ข้างใน #####
- FLOWSTACK_VOLUME_HOST_PATH=${FLOWSTACK_VOLUME_HOST_PATH}
- INFLUXDB_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
- INFLUXDB_ADMIN_PASSWORD=${INFLUXDB_ADMIN_PASSWORD}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- FLOWSTACK_LOCAL_OAUTH_AUTH_ENDPOINT=${FLOWSTACK_LOCAL_OAUTH_AUTH_ENDPOINT}
- FLOWSTACK_LOCAL_OAUTH_TOKEN_ENDPOINT=${FLOWSTACK_LOCAL_OAUTH_TOKEN_ENDPOINT}
- FLOWSTACK_LOCAL_USERINFO_API_ENDPOINT=${FLOWSTACK_LOCAL_USERINFO_API_ENDPOINT}
- FLOWSTACK_WWW_PUBLIC_URL=${FLOWSTACK_WWW_PUBLIC_URL}
- MONGODB_PASSWORD=${MONGODB_PASSWORD}
- GRAFANA_PUBLIC_URL=${GRAFANA_PUBLIC_URL}
- GRAFANA_STACK_ENDPOINT=${GRAFANA_STACK_ENDPOINT}
- GRAFANA_SECURITY_ADMIN_USER=grafana
- GRAFANA_SECURITY_ADMIN_PASSWORD=${GRAFANA_SECURITY_ADMIN_PASSWORD}
- WEBEDITOR_ENDPOINT=${EDITOR_ENDPOINT}
deploy:
resources:
limits:
cpus: "0.9"
memory: 1024m
volumes:
flowstack-storage:
driver: local
driver_opts:
device: ${FLOWSTACK_VOLUME_HOST_PATH}/
type: none
o: bind
flowstack-flowengine:
driver: local
driver_opts:
device: ${FLOWSTACK_VOLUME_HOST_PATH}/flowengine/flowdata
type: none
o: bind
networks:
default:
name: ${FLOWSTACK_NAME}
driver: bridge
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