-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.flowise.yml
52 lines (46 loc) · 1.27 KB
/
docker-compose.flowise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.3"
services:
flowise-db:
image: postgres
restart: always
networks:
- traefik-net
environment:
POSTGRES_PASSWORD: "123456"
POSTGRES_DB: flowise
volumes:
- flowise-db-postgres:/var/lib/postgresql/data
flowise:
image: flowiseai/flowise
restart: always
entrypoint: /bin/sh -c "sleep 3; flowise start"
networks:
- traefik-net
environment:
DATABASE_TYPE: postgres
DATABASE_NAME: flowise
DATABASE_HOST: flowise-db
DATABASE_PORT: 5432
DATABASE_USER: postgres
DATABASE_PASSWORD: 123456
FLOWISE_USERNAME: adm
FLOWISE_PASSWORD: 123456
FLOWISE_SECRETKEY_OVERWRITE: mmNXsF2ghuanN38mMC1j3NQjFpXA5nONI
DEBUG: "true"
LOG_LEVEL: debug
volumes:
- flowise-data:/root/.flowise
labels:
- traefik.enable=true
- traefik.http.routers.flowise.rule=Host(`flowise.localhost`)
- traefik.http.routers.flowise.entrypoints=web,websecure
- traefik.http.services.flowise.loadbalancer.server.port=3000
# - traefik.http.routers.flowise.tls.certresolver=letsencrypt-resolver
volumes:
flowise-data:
name: flowise-data
flowise-db-postgres:
name: flowise-db-postgres
networks:
traefik-net:
external: true