Improve expenses receipts UX and Coolify MinIO deployment.
Extract receipt UI components, add view/edit/create dialog modes with list receipt previews, add docker-compose.coolify.yml and clearer COOLIFY/S3 path-style guidance for Application + MinIO setups. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,23 +2,38 @@
|
||||
#
|
||||
# Deploy: Coolify → Docker Compose → compose file: docker-compose.coolify-minio.yml
|
||||
#
|
||||
# Beevoice (Application) cannot use S3_ENDPOINT=http://minio:9000 unless it shares
|
||||
# this stack's Docker network AND that hostname resolves (usually it does not across
|
||||
# separate Coolify resources). See docs/COOLIFY.md — copy the internal hostname from
|
||||
# the MinIO resource UI into Beevoice's S3_ENDPOINT and enable "Connect to Predefined
|
||||
# Network" on the Beevoice app.
|
||||
# ── Fix ENOTFOUND minio on a Beevoice Application (pick ONE) ─────────────────
|
||||
#
|
||||
# Recommended alternative: deploy full docker-compose.yml as one Compose resource (app
|
||||
# + db + minio) so S3_ENDPOINT=http://minio:9000 works without extra networking.
|
||||
# A) Public MinIO URL (most reliable — no shared Docker network required)
|
||||
# 1. Redeploy this stack (includes SERVICE_FQDN_MINIO_9000 below).
|
||||
# 2. MinIO resource → assign a domain for port 9000 (e.g. s3.example.com).
|
||||
# 3. Open this resource's Environment tab → copy SERVICE_URL_MINIO_9000
|
||||
# (e.g. https://s3.example.com).
|
||||
# 4. Beevoice Application → S3_ENDPOINT=<that URL> → redeploy Beevoice.
|
||||
#
|
||||
# B) Internal Docker DNS (same Coolify destination network)
|
||||
# 1. MinIO resource → Advanced → enable "Connect to Predefined Network" → redeploy.
|
||||
# 2. Beevoice Application → same destination → enable "Connect to Predefined Network"
|
||||
# → redeploy.
|
||||
# 3. Beevoice → S3_ENDPOINT=http://minio-<MINIO_RESOURCE_UUID>:9000
|
||||
# (UUID is in the MinIO resource URL / COOLIFY_RESOURCE_UUID — NOT bare "minio").
|
||||
#
|
||||
# Recommended long-term: deploy docker-compose.coolify.yml as one stack (app+db+minio).
|
||||
# See docs/COOLIFY.md.
|
||||
services:
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
environment:
|
||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minioadmin}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minioadmin}
|
||||
SERVICE_FQDN_MINIO_9000:
|
||||
SERVICE_FQDN_MINIO_9001:
|
||||
volumes:
|
||||
- beenvoice_minio_data:/data
|
||||
command: server /data --console-address ":9001"
|
||||
expose:
|
||||
- "9000"
|
||||
- "9001"
|
||||
healthcheck:
|
||||
test: ["CMD", "mc", "ready", "local"]
|
||||
interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user