|
@@ -59,8 +59,8 @@ services:
|
|
|
|
|
|
# file search tool
|
|
|
R2R_BASE_URL: http://r2r:7272
|
|
|
- R2R_USERNAME: xujiawei@cocorobo.cc
|
|
|
- R2R_PASSWORD: usestudio-1
|
|
|
+ R2R_USERNAME: admin@example.com
|
|
|
+ R2R_PASSWORD: change_me_immediately
|
|
|
R2R_SEARCH_LIMIT: 10
|
|
|
|
|
|
# secret
|
|
@@ -136,11 +136,9 @@ services:
|
|
|
|
|
|
# file search tool
|
|
|
R2R_BASE_URL: http://r2r:7272
|
|
|
- R2R_USERNAME: xujiawei@cocorobo.cc
|
|
|
- R2R_PASSWORD: usestudio-1
|
|
|
- R2R_SEARCH_LIMIT: 10
|
|
|
-
|
|
|
- # secret
|
|
|
+ R2R_USERNAME: admin@example.com
|
|
|
+ R2R_PASSWORD: change_me_immediately
|
|
|
+ R2R_SEARCH_LIMIT: 10 # secret
|
|
|
APP_AES_ENCRYPTION_KEY: 7700b2f9c8dd982dfaddf8b47a92f1d900507ee8ac335f96a64e9ca0f018b195
|
|
|
|
|
|
depends_on:
|
|
@@ -176,12 +174,7 @@ services:
|
|
|
MYSQL_PASSWORD: '123456'
|
|
|
MYSQL_DATABASE: open_assistant
|
|
|
# TZ: Asia/Shanghai
|
|
|
- command:
|
|
|
- [
|
|
|
- 'mysqld',
|
|
|
- '--character-set-server=utf8mb4',
|
|
|
- '--collation-server=utf8mb4_unicode_ci'
|
|
|
- ]
|
|
|
+ command: [ 'mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci' ]
|
|
|
healthcheck:
|
|
|
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ]
|
|
|
timeout: 20s
|
|
@@ -217,13 +210,7 @@ services:
|
|
|
MINIO_SECRET_KEY: minioadmin
|
|
|
command: minio server /minio_data --console-address ':9001'
|
|
|
healthcheck:
|
|
|
- test:
|
|
|
- [
|
|
|
- "CMD",
|
|
|
- "curl",
|
|
|
- "-f",
|
|
|
- "http://localhost:9000/minio/health/live"
|
|
|
- ]
|
|
|
+ test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
|
|
|
interval: 30s
|
|
|
timeout: 20s
|
|
|
retries: 3
|
|
@@ -238,11 +225,7 @@ services:
|
|
|
depends_on:
|
|
|
- minio
|
|
|
entrypoint: >
|
|
|
- /bin/sh -c "
|
|
|
- /usr/bin/mc alias set minio http://minio:9000 $${MINIO_ACCESS_KEY} $${MINIO_SECRET_KEY};
|
|
|
- /usr/bin/mc mb -p minio/$${BUCKET_NAME};
|
|
|
- exit 0;
|
|
|
- "
|
|
|
+ /bin/sh -c " /usr/bin/mc alias set minio http://minio:9000 $${MINIO_ACCESS_KEY} $${MINIO_SECRET_KEY}; /usr/bin/mc mb -p minio/$${BUCKET_NAME}; exit 0; "
|
|
|
networks:
|
|
|
r2r-network:
|
|
|
external: true
|