feat: Add S3 support for uploads (#938)

This commit is contained in:
Nguyễn Hải Quang
2024-11-11 20:59:18 +07:00
committed by GitHub
parent f6ea10df97
commit 950a070589
16 changed files with 579 additions and 24 deletions

View File

@@ -80,6 +80,14 @@ services:
# - TELEGRAM_BOT_TOKEN=
# - TELEGRAM_CHAT_ID=
# - TELEGRAM_THREAD_ID=
# Attachments S3
# - S3_ENABLE=true
# - S3_REGION=
# - S3_ENDPOINT=
# - S3_BUCKET=
# - S3_ACCESS_KEY=
# - S3_SECRET_KEY=
depends_on:
postgres:
condition: service_healthy
@@ -93,7 +101,7 @@ services:
- POSTGRES_DB=planka
- POSTGRES_HOST_AUTH_METHOD=trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
test: ['CMD-SHELL', 'pg_isready -U postgres -d planka']
interval: 10s
timeout: 5s
retries: 5