All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 4m20s
Build and deploy / Publish images (push) Successful in 1m5s
TREATMENT_CENTS sets a fixed price per order; 0 keeps the option hidden. The cart shows the designer treatment and adds 24 h; the quote total and Tiny line carry it, and the card gets the "Tratamento pago" label. The designer uploads the treated file through the existing card flow.
64 lines
2.4 KiB
Plaintext
64 lines
2.4 KiB
Plaintext
# LOCAL DEVELOPMENT ONLY. These are public disposable development values.
|
|
COMPOSE_PROJECT_NAME=dtf-cloud
|
|
SITE_PORT=8080
|
|
KANBAN_PORT=8081
|
|
API_PORT=8000
|
|
POSTGRES_DB=dtf_local
|
|
POSTGRES_USER=dtf_local
|
|
POSTGRES_PASSWORD=local-database-only
|
|
APP_DB_USER=dtf_app
|
|
APP_DB_PASSWORD=local-app-database-only
|
|
MINIO_ROOT_USER=dtf_local
|
|
MINIO_ROOT_PASSWORD=local-storage-only
|
|
S3_APP_USER=dtf_app
|
|
S3_APP_PASSWORD=local-app-storage-only
|
|
S3_BUCKET=dtf-local-artwork
|
|
S3_PUBLIC_ENDPOINT=http://localhost:9000
|
|
OPERATOR_EMAIL=operator@example.test
|
|
OPERATOR_PASSWORD=local-operator-only
|
|
APP_ENV=local
|
|
PAYMENT_ADAPTER=fake
|
|
# Designer treatment, fixed per order in cents; 0 hides the option.
|
|
TREATMENT_CENTS=0
|
|
FREIGHT_ADAPTER=fake
|
|
TINY_ADAPTER=fake
|
|
# Sandbox only (see docs/LOCAL_SETUP.md, "Provider sandboxes"):
|
|
# PAYMENT_ADAPTER=mercadopago
|
|
# MP_ACCESS_TOKEN=TEST-...
|
|
# MP_WEBHOOK_SECRET=...
|
|
# MP_NOTIFICATION_URL=https://<public tunnel>/api/payments/webhook
|
|
# Tiny API v3: client ID/secret come from the "Aplicativo" created in Tiny
|
|
# (Configurações > Geral > Aplicativos); the redirect URI registered there
|
|
# must be exactly TINY_REDIRECT_URI. Product ids are the Tiny products each
|
|
# Site product becomes. Tiny has no sandbox: orders created are real.
|
|
# TINY_CLIENT_ID=...
|
|
# TINY_CLIENT_SECRET=...
|
|
# TINY_REDIRECT_URI=http://localhost:8081/api/operator/tiny/callback
|
|
# TINY_PRODUCT_TEXTIL_FOLHA=...
|
|
# TINY_PRODUCT_TEXTIL_AVULSA=...
|
|
# TINY_PRODUCT_UV_FOLHA=...
|
|
# TINY_PRODUCT_UV_AVULSA=...
|
|
# TINY_ADAPTER=tiny # only once connected and tested: creates real orders
|
|
# Jadlog price quotes go in jadlog.env, not here (see app/jadlog_probe.py):
|
|
# JADLOG_TOKEN=...
|
|
# JADLOG_CNPJ=... # the "Usuário" Jadlog issued, the CNPJ that contracts freight
|
|
# JADLOG_CONTA=... # conta corrente
|
|
# JADLOG_CONTRATO= # only if Jadlog issued a contract number
|
|
# E-mail stays in the database and the worker log (MAIL_ADAPTER=log). To send
|
|
# through a real server: MAIL_ADAPTER=smtp with the settings below.
|
|
# MAIL_FROM=DTF Dropstar <nao-responda@exemplo.com.br>
|
|
# SMTP_HOST=smtp.exemplo.com.br
|
|
# SMTP_PORT=587
|
|
# SMTP_SECURITY=starttls
|
|
# SMTP_USER=...
|
|
# SMTP_PASSWORD=...
|
|
STORAGE_ADAPTER=s3-local
|
|
MOCK_FREIGHT_CENTS=1500
|
|
MAX_UPLOAD_BYTES=4294967296
|
|
UPLOAD_PART_BYTES=8388608
|
|
STORAGE_QUOTA_BYTES=53687091200
|
|
OWNER_UPLOAD_QUOTA_BYTES=10737418240
|
|
MAX_PENDING_UPLOADS=10
|
|
# Files above 128 MiB remain blocked (ClamAV config must agree with this limit).
|
|
SCAN_MAX_BYTES=134217728
|