forked from labring/fastgpt-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (42 loc) · 1.39 KB
/
docker-compose.yaml
File metadata and controls
46 lines (42 loc) · 1.39 KB
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
version: '3'
services:
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.0.2 # GitHub Container Registry
# image: registry.cn-hangzhou.aliyuncs.com/labring/fastgpt-plugin:v0.0.2 # China Mainland Mirror provided by Aliyun
# image: registry.hub.docker.com/labring/fastgpt-plugin:v0.0.2 # Docker Hub
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt-plugin-network
ports:
- '3010:3000' # If integrated with FastGPT, you have no need to expose the port
environment:
- AUTH_TOKEN=FX589vMlhV # disable authentication token if you do not set this variable
# Minio configuration
- MINIO_HOST=minio
- MINIO_PORT=9000
- MINIO_ACCESS_KEY=minioadmin
- MINIO_SECRET_KEY=minioadmin
- MINIO_BUCKET=fastgpt-plugins
- MINIO_USE_SSL=false
depends_on:
- minio
minio:
image: minio/minio:latest
container_name: fastgpt-plugin-minio
restart: always
networks:
- fastgpt-plugin-network
ports: # comment out if you do not need to expose the port (in production environment, you should not expose the port)
- '9000:9000'
- '9001:9001'
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
volumes:
minio_data:
networks:
fastgpt-plugin-network: