forked from lab/TPM
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
999 B
46 lines
999 B
services: |
|
# Flask Web Service |
|
- type: web |
|
name: tpm-flask |
|
env: docker |
|
dockerfilePath: ./Dockerfile |
|
plan: free |
|
healthCheckPath: / |
|
envVars: |
|
- key: DATABASE_URL |
|
fromDatabase: |
|
name: tpm-db |
|
property: connectionString |
|
- key: REDIS_URL |
|
fromService: |
|
name: tpm-redis |
|
type: redis |
|
property: connectionString |
|
- key: OPENROUTER_API_KEY |
|
sync: false |
|
- key: OPENROUTER_MODEL |
|
value: google/gemini-2.0-flash-exp:free |
|
- key: MOCK_LLM |
|
value: false |
|
- key: LLM_TIMEOUT |
|
value: 60 |
|
- key: LLM_MAX_TOKENS |
|
value: 1500 |
|
- key: LLM_TEMPERATURE |
|
value: 0.6 |
|
|
|
# PostgreSQL Database |
|
- type: pserv |
|
name: tpm-db |
|
env: docker |
|
plan: free |
|
disk: |
|
name: postgres-data |
|
mountPath: /var/lib/postgresql/data |
|
sizeGB: 1 |
|
|
|
# Redis Cache |
|
- type: redis |
|
name: tpm-redis |
|
plan: free |
|
maxmemoryPolicy: allkeys-lru
|
|
|