28 Commits

Author SHA1 Message Date
yekk
53d9c973df Remove TZ environment variable from docker-compose
Removed timezone setting from environment variables.
2026-02-07 10:28:12 +08:00
yekk
41f6f8d509 Update project title and add language links 2026-02-07 10:26:13 +08:00
yekk
77ae7b5dd9 Feature/mytess restructure (#6)
* Restructure repository for Mytess SEO optimization

## Changes

### File Reorganization
- Move docker-compose files and images to new `script/` directory
- Create new English root README.md with Mytess showcase
- Add simplified Chinese README.zh.md as redirect
- Add comprehensive English deployment guide in script/README.md

### Docker Compose Updates
- Remove Chinese mirror sources (docker.1ms.run) from all images
- Use official Docker registry for global compatibility
- Add cache headers for Dash static assets (1-year cache)
- Configure caching for Next.js static files and PWA assets

### SEO & Documentation
- Feature Mytess prominently with screenshots and links
- Include App Store and mytess.net references
- Natural keyword integration for TeslaMate iOS/mobile searches
- Comprehensive troubleshooting and configuration guides
- Architecture diagrams for both deployment options

### Benefits
- Improved global search visibility for Mytess
- Better user experience with clear English documentation
- Performance improvements via static asset caching
- Maintained backward compatibility for existing users

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Remove emojis and add showcase images to README

## Changes

- Remove all emoji icons from both English and Chinese READMEs
- Add actual showcase images from mytess-web project
- Update feature descriptions with paired screenshots
- Include images for: drive insights, cost management, map mode, and notifications
- Maintain professional and clean documentation style

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Switch to official TeslaMate images and clarify version differences

## Changes

### Docker Compose Updates
- **Basic version (docker-compose.yml)**: Now uses official images
  - teslamate/teslamate:latest (was mytesla/teslamate:v2.2)
  - teslamate/grafana:latest (was mytesla/grafana:v2.2)
- **Mytesla version (docker-compose-with-mytesla.yml)**: Unchanged, continues using mytesla images

### Documentation Updates
- **English README**: Clarify two deployment options with clear use cases
  - Option 1: Official version for international users
  - Option 2: Mytesla optimized for China (with problem solutions listed)
- **Chinese README**: Add detailed explanation of mytesla version benefits
  - OpenStreetMap proxy solution
  - Baidu Maps support
  - Chinese localization
  - Unified authentication
- **script/README.md**: Update deployment instructions with version comparison

### Benefits
- Users can now choose between official and optimized versions
- Clear guidance on which version to use based on location
- Mytesla version value proposition clearly explained (China-specific fixes)
- Maintains flexibility for different user needs

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Add Mytesla Dash licensing information

## Changes

- Add FAQ entry about Mytesla Dash license requirement
- Direct users to contact hi@mytesla.cc for licensing inquiries
- Add note in script/README.md for Mytesla Dash option
- Replace Chinese-specific licensing link with international email contact

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Use official TeslaMate/Grafana images in both configurations

## Changes

### Docker Compose Updates
Both versions now use official TeslaMate and Grafana images:
- `teslamate/teslamate:v2.2` (official)
- `teslamate/grafana:v2.2` (official)

**Basic version (docker-compose.yml)**:
- Official TeslaMate + Grafana only

**Mytesla version (docker-compose-with-mytesla.yml)**:
- Official TeslaMate + Grafana as base
- Plus Mytesla enhancement components:
  - mytesla/auth - Unified authentication
  - mytesla/dash - Modern web dashboard
  - mytesla/teslamateapi - Enhanced API
  - mytesla/env-adapter - Environment adapter

### Documentation Updates
- Update all READMEs to reflect official image usage
- Clarify that Mytesla version = Official base + Mytesla components
- Explain advantages of Mytesla components in Chinese docs
- Remove "China-specific" positioning, focus on feature benefits

### Benefits
- Both versions stay up-to-date with official TeslaMate releases
- Mytesla version provides additional value through enhancement components
- Clear separation: official base vs. enhanced features
- Users can choose based on feature needs, not geography

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Add TeslaMateAPI to basic docker-compose configuration

## Changes

### Docker Compose
- Add official TeslaMateAPI service to basic version
- Image: tobiasehlert/teslamateapi:latest
- Port: 8080 (standard TeslaMateAPI port)
- Enable API commands and token authentication
- Configure database and MQTT connections

### Documentation Updates
- Update all port references from 3030 to 8080
- Add TeslaMateAPI to basic version service list
- Update firewall instructions to include port 8080
- Clarify that basic version now supports Mytess iOS app

### Benefits
- Basic version now fully supports Mytess iOS app connectivity
- Users can choose between:
  - Basic: Separate ports (4000, 3000, 8080)
  - Mytesla: Unified port 80 with reverse proxy
- No need to use Mytesla version just for API access

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Fix basic version TeslaMateAPI configuration

## Changes

### Docker Compose
- Change image to mytesla/teslamateapi:latest (match with-mytesla version)
- Update port mapping to 3030:8080 (consistent with documentation)
- Align environment variables with with-mytesla version:
  - Add API_TOKEN configuration
  - Add teslamateapi-data volume
  - Add teslamate dependency
- Remove unnecessary logging configuration

### Documentation
- Update all API port references back to 3030
- Ensure consistency across all README files

### Result
- Basic version now uses same API image as Mytesla version
- Configuration is consistent and simpler
- Port 3030 is standard for TeslaMateAPI external access

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Fix TeslaMateAPI authentication description

## Changes

- Correct API access description from "(no auth required)" to "(requires API token)"
- TeslaMateAPI does require API_TOKEN for authentication
- Although it bypasses Traefik ForwardAuth, it still needs token validation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Remove China-specific language and TeslaMateAPI reference from English docs

## Changes

### README.md
- Remove "optimized for mainland China" from subtitle
- Replace "China-Specific Optimizations" with generic feature benefits
- Remove China-related notes about map loading issues
- Remove TeslaMateAPI GitHub link from Related Projects
- Focus on universal features: Mytess integration, modern interface

### script/README.md
- Change "recommended for China" to "recommended" (universal)
- Remove China-specific troubleshooting (Baidu Maps references)
- Use generic network troubleshooting guidance

### Rationale
- Make English documentation internationally focused
- Chinese-specific information remains in README.zh.md
- Avoid geographic positioning in global documentation
- Remove redundant API reference (already integrated in project)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Update repository URLs to new location

## Changes

- Update all git clone URLs from old repository to new location
- Old: github.com/gococonut/teslamate-cn-image
- New: github.com/yekk-me/teslamate-mytess-docker
- Update directory names in cd commands to match new repo name
- Update GitHub Issues links

### Files Updated
- README.md (English)
- README.zh.md (Chinese)
- script/README.md

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Recommend mytesla images for Chinese users and explain benefits

## Changes in README.zh.md

### Image Recommendations
- Change to recommend mytesla/teslamate:v2.2 for Chinese users
- Change to recommend mytesla/grafana:v2.2 for Chinese users
- Keep official images as "Option 1" for international users

### Added "Mytesla 镜像解决的问题" Section
Clearly explain China-specific problems solved by mytesla images:
- ✓ OpenStreetMap proxy for map loading in mainland China
- ✓ Baidu Maps geocoding integration for accurate locations
- ✓ Complete Chinese localization and pre-configured dashboards
- ✓ Network optimizations for China

### Positioning
- Chinese README now recommends mytesla images (China-optimized)
- English README uses official images (international)
- Clear value proposition for Chinese users

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Fix PostgreSQL data directory mount path

## Changes

- Fix database volume mount in docker-compose-with-mytesla.yml
- Change from `/var/lib/postgresql` to `/var/lib/postgresql/data`
- PostgreSQL official image stores data in `/var/lib/postgresql/data`
- Now consistent with basic version configuration

### Impact
- Ensures data is properly persisted in the correct directory
- Prevents potential data loss issues
- Matches PostgreSQL best practices

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Fix PostgreSQL mount and add Baidu Maps configuration guide

## Changes

### PostgreSQL Volume Mount Fix
- Remove `/data` from PostgreSQL mount paths in both files
- Correct path: `/var/lib/postgresql` (not `/var/lib/postgresql/data`)
- Applies to both docker-compose.yml and docker-compose-with-mytesla.yml

### Chinese README Enhancement
Add Baidu Maps configuration section for accurate geocoding:
- Instructions to obtain BD_MAP_AK and BD_MAP_SK
- Step-by-step guide for Chinese users
- Explains benefit: accurate Chinese location names vs English addresses
- Example configuration in teslamate service environment

### Rationale
- PostgreSQL 18 uses `/var/lib/postgresql` as data directory
- Baidu Maps improves location accuracy for Chinese users
- Solves reverse geocoding issues in mainland China

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-07 10:25:33 +08:00
yekk
fd342da44d Fix environment variable syntax in docker-compose 2026-01-24 10:57:32 +08:00
yekk
aac67f7934 Add environment variable for NEXT_PUBLIC_AMAP_KEY 2026-01-24 10:56:53 +08:00
Andy Xin
538c36479b 添加 /mytesla/api 路由并增强安全配置提醒
- 新增 /mytesla/api 路由转发到 teslamateapi /api(无需认证)
- 修改 API_TOKEN 默认值为明确的提醒文本
- README 新增安全配置章节,详细说明必须修改的环境变量
- 提供密钥生成命令和安全建议

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-23 15:36:04 +08:00
yekk
53cb5a4cbf Add API token to docker-compose configuration 2026-01-23 15:20:38 +08:00
yekk
c51b2d8a0a 更新 docker-compose-with-mytesla.yml 2026-01-23 14:26:21 +08:00
yekk
df58fd3b2b Update README with Mytess app recommendation
Added recommendation for Teslamate iOS app Mytess and updated features section.
2026-01-22 19:54:12 +08:00
Andy Xin
7f39c8b726 Remove .env.example file and update docker-compose.yml with hardcoded environment variables. Revise README.md to reflect new deployment instructions and introduce Mytesla Dash as an alternative to Grafana. 2026-01-21 21:03:40 +08:00
Andy Xin
b9a48454d9 v2.2 2026-01-21 20:39:13 +08:00
yekk
ff36ba117a Update README.md 2025-11-14 23:18:43 +08:00
yekk
b02f437782 Update README.md 2025-10-22 14:18:25 +08:00
yekk
c53f439f3e Update README.md 2025-10-21 14:05:33 +08:00
yekk
4cf6e1abec 更新 README.md 2025-09-12 00:05:05 +08:00
yekk
ac3fc944b9 Update README.md 2025-08-26 16:58:53 +08:00
yekk
1c724c7590 Update README.md 2025-08-11 11:09:54 +08:00
yekk
6aa867e177 mytesla 2.1 2025-08-08 13:12:32 +08:00
Coconut
82757ac7ef Update README.md 2025-03-27 09:31:17 +08:00
teslamate
2a4d44a4e1 bd sk 2025-03-26 14:56:47 +08:00
Coconut
1552c079f0 Update README.md 2025-03-24 10:07:10 +08:00
teslamate
f0868493a5 support baidu map ak 2025-03-16 12:05:25 +08:00
Coconut
a980cef2dd Update README.md 2025-03-15 20:06:45 +08:00
Coconut
de73fa9406 Update docker-compose.yml 2025-03-15 12:50:39 +08:00
Coconut
136c831c0d Update docker-compose.yml 2025-03-15 12:38:31 +08:00
Coconut
9e192b4948 Update README.md 2025-03-15 12:34:04 +08:00
Coconut
d78faada59 init 2025-03-15 04:28:11 +00:00
Coconut
db8d582d74 Initial commit 2025-03-15 12:19:21 +08:00