diff --git a/api/.env.production b/api/.env.production index b8541ec..31dd3d7 100644 --- a/api/.env.production +++ b/api/.env.production @@ -6,10 +6,9 @@ DATABASE_URL=postgresql://postgres:postgres@postgres:5432/life_echo # Redis:业务 DB/0;Celery 自动 DB/1;compose redis 使用 REDIS_PASSWORD 作为 requirepass REDIS_URL=redis://redis:6379/0 -REDIS_PASSWORD=replace_with_strong_redis_password -# CELERY_REDIS_URL=redis://:replace_with_strong_redis_password@redis:6379/1 +REDIS_PASSWORD=1b1b93a8145c6f74d3c12d19073c47843ee17adf2e988cab FLOWER_USER=admin -FLOWER_PASSWORD=replace_with_strong_flower_password +FLOWER_PASSWORD=2c590b68e860f73589c6282b0e252c4e477eaae22e1cffd0 SECRET_KEY=cf47555c7ecbe5ddb7fd2113c59e08a8bcb110810c42f7c644e06a5acc898608 diff --git a/api/.env.staging b/api/.env.staging index aec2aa5..89aff48 100644 --- a/api/.env.staging +++ b/api/.env.staging @@ -8,12 +8,11 @@ POSTGRES_HOST_PORT=15432 APP_ENV=staging DATABASE_URL=postgresql://postgres:postgres@postgres:5432/life_echo -# Redis:业务 DB/0;Celery 自动 DB/1;compose redis 使用 REDIS_PASSWORD 作为 requirepass +# Redis:业务 DB/0;Celery 自动 DB+1;staging 内网 compose 暂不要求 requirepass REDIS_URL=redis://redis:6379/0 -REDIS_PASSWORD=replace_with_strong_redis_password -# CELERY_REDIS_URL=redis://:replace_with_strong_redis_password@redis:6379/1 +# REDIS_PASSWORD= FLOWER_USER=admin -FLOWER_PASSWORD=replace_with_strong_flower_password +FLOWER_PASSWORD=8a39e302b0b1f2a4492fdb46fa851a1713b66a8b98fd86fd SECRET_KEY=cf47555c7ecbe5ddb7fd2113c59e08a8bcb110810c42f7c644e06a5acc898608