app-store/apps/flowise/docker-compose.yml
nrvo 32112ff33b
[App] Flowise AI (#2290)
* Add Flowise app

* Update apps/flowise/metadata/description.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update apps/flowise/metadata/description.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update apps/flowise/metadata/description.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* update after review

* update config.json

* fix(flowise): remove unused config

* fix(flowise): remove required from random

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Stavros <steveiliop56@gmail.com>
2024-01-24 11:34:04 +02:00

54 lines
2.5 KiB
YAML

version: '3.7'
services:
flowise:
image: flowiseai/flowise:1.4.10
restart: unless-stopped
command: /bin/sh -c "sleep 3; flowise start"
container_name: flowise
environment:
- PORT=8009
- FLOWISE_USERNAME=${FLOWISE_USERNAME}
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
- FLOWISE_SECRETKEY_OVERWRITE=${FLOWISE_SECRETKEY_OVERWRITE}
- LANGCHAIN_ENDPOINT=${LANGCHAIN_ENDPOINT}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- DISABLE_FLOWISE_TELEMETRY=${DISABLE_FLOWISE_TELEMETRY}
- DATABASE_PATH=/root/.flowise
- APIKEY_PATH=/root/.flowise
- SECRETKEY_PATH=/root/.flowise/logs
- LOG_PATH=/root/.flowise
ports:
- "${APP_PORT}:8009"
volumes:
- ${APP_DATA_DIR}/data/flowise:/root/.flowise
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.flowise-web-redirect.redirectscheme.scheme: https
traefik.http.services.flowise.loadbalancer.server.port: 8009
# Web
traefik.http.routers.flowise-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.flowise-insecure.entrypoints: web
traefik.http.routers.flowise-insecure.service: flowise
traefik.http.routers.flowise-insecure.middlewares: flowise-web-redirect
# Websecure
traefik.http.routers.flowise.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.flowise.entrypoints: websecure
traefik.http.routers.flowise.service: flowise
traefik.http.routers.flowise.tls.certresolver: myresolver
# Local domain
traefik.http.routers.flowise-local-insecure.rule: Host(`flowise.${LOCAL_DOMAIN}`)
traefik.http.routers.flowise-local-insecure.entrypoints: web
traefik.http.routers.flowise-local-insecure.service: flowise
traefik.http.routers.flowise-local-insecure.middlewares: flowise-web-redirect
# Local domain secure
traefik.http.routers.flowise-local.rule: Host(`flowise.${LOCAL_DOMAIN}`)
traefik.http.routers.flowise-local.entrypoints: websecure
traefik.http.routers.flowise-local.service: flowise
traefik.http.routers.flowise-local.tls: true