Skip to content

Commit

Permalink
fix: write POSTGRES_HOST in gen env file
Browse files Browse the repository at this point in the history
  • Loading branch information
nicotsx committed Feb 10, 2024
1 parent 5609ee9 commit 84d1c75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ pub fn generate_env_file(custom_env_file_path: Option<PathBuf>) -> Result<(), Er
"POSTGRES_PORT".to_string(),
parsed_json.postgres_port.unwrap_or(StringOrInt::from(DEFAULT_POSTGRES_PORT)).as_string(),
);
new_env_map.insert("POSTGRES_HOST".to_string(), "tipi-db".to_string());
new_env_map.insert("REDIS_HOST".to_string(), "tipi-redis".to_string());
new_env_map.insert("REDIS_PASSWORD".to_string(), redis_password);
new_env_map.insert("DOMAIN".to_string(), parsed_json.domain.unwrap_or(DEFAULT_DOMAIN.to_string()));
Expand Down

0 comments on commit 84d1c75

Please sign in to comment.