Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce2dfcd13c |
@@ -22,14 +22,20 @@ This document contains instructions and documentation references for AI assistan
|
|||||||
* Related repos: , `core-api`, `tatlock`, `library-desk`, `scheduler`, `portainer-core`
|
* Related repos: , `core-api`, `tatlock`, `library-desk`, `scheduler`, `portainer-core`
|
||||||
|
|
||||||
### 🐳 Deployment & Infrastructure
|
### 🐳 Deployment & Infrastructure
|
||||||
|
|
||||||
|
**⚠️ IMPORTANT: Service Port Reference**
|
||||||
|
| Service | LAN Port | External URL | Notes |
|
||||||
|
|---------|----------|--------------|-------|
|
||||||
|
| **Core API** | 8083 | `api.schweitz.net` | FastAPI backend for this UI |
|
||||||
|
| **Tatlock API** | 8000 | `tatlock.schweitz.net` | Legacy Python API (Ollama proxy) |
|
||||||
|
| **Tatlock UI** | 9999 | `home.schweitz.net` | This Flutter app |
|
||||||
|
|
||||||
* **Full stack documentation**: Available in the `portainer-core` repo
|
* **Full stack documentation**: Available in the `portainer-core` repo
|
||||||
* Access: `curl http://localhost:3002/jpmschweitzer/portainer-core/raw/branch/main/CONTAINERS.md`
|
* Access: `curl http://192.168.86.149:3002/jpmschweitzer/portainer-core/raw/branch/main/CONTAINERS.md`
|
||||||
* Contains: All service ports, URLs, Redis DB allocations, external domains
|
* Contains: All service ports, URLs, Redis DB allocations, external domains
|
||||||
* **Tatlock deployment**:
|
* **Health checks**:
|
||||||
* LAN: `http://192.168.86.149:8000`
|
* Core API: `curl http://192.168.86.149:8083/health`
|
||||||
* External: `tatlock.schweitz.net` (behind Authentik SSO)
|
* Tatlock API: `curl http://192.168.86.149:8000/health`
|
||||||
* Redis DBs: 1 (memory), 6 (benchmarks)
|
|
||||||
* **Health check**: `curl http://192.168.86.149:8000/health`
|
|
||||||
|
|
||||||
### 🛡️ Git Discipline
|
### 🛡️ Git Discipline
|
||||||
* **Commit Messages:** Use the [Conventional Commits](https://www.conventionalcommits.org/) format.
|
* **Commit Messages:** Use the [Conventional Commits](https://www.conventionalcommits.org/) format.
|
||||||
|
|||||||
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.0.2] - 2026-01-03
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Production Docker build now uses correct API URLs
|
||||||
|
- Added `--dart-define` flags for `CORE_API_URL` and `TATLOCK_API_URL`
|
||||||
|
- This enables `requiresAuth=true` so authentication is actually triggered
|
||||||
|
- Updated AGENTS.md with clear service port reference table
|
||||||
|
|
||||||
## [1.0.1] - 2026-01-03
|
## [1.0.1] - 2026-01-03
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
+5
-2
@@ -15,8 +15,11 @@ COPY . .
|
|||||||
# Generate code with build_runner
|
# Generate code with build_runner
|
||||||
RUN dart run build_runner build --delete-conflicting-outputs
|
RUN dart run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
# Build for web release
|
# Build for web release with production configuration
|
||||||
RUN flutter build web --release
|
# These URLs enable authentication (requiresAuth = true when URL contains schweitz.net)
|
||||||
|
RUN flutter build web --release \
|
||||||
|
--dart-define=CORE_API_URL=https://api.schweitz.net \
|
||||||
|
--dart-define=TATLOCK_API_URL=https://tatlock.schweitz.net
|
||||||
|
|
||||||
# Stage 2: Serve with nginx
|
# Stage 2: Serve with nginx
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.1+1
|
version: 1.0.2+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.10.4
|
sdk: ^3.10.4
|
||||||
|
|||||||
Reference in New Issue
Block a user