Fix S3 credentials and remove duplicated worker service
This commit is contained in:
@@ -26,31 +26,7 @@ services:
|
||||
- S3_ENDPOINT_URL=http://minio:9000
|
||||
- S3_ENDPOINT_PUBLIC=http://localhost:9000
|
||||
- S3_ACCESS_KEY=minioadmin
|
||||
- S3_SECRET_KEY=***
|
||||
- S3_REGION=us-east-1
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
worker:
|
||||
build:
|
||||
context: ..
|
||||
command: python worker.py
|
||||
volumes:
|
||||
- ../data:/app/data
|
||||
env_file: ../.env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql+asyncpg://imago:imago@db:5432/imago
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- STORAGE_BACKEND=s3
|
||||
- S3_BUCKET=imago
|
||||
- S3_ENDPOINT_URL=http://minio:9000
|
||||
- S3_ENDPOINT_PUBLIC=http://localhost:9000
|
||||
- S3_ACCESS_KEY=minioadmin
|
||||
- S3_SECRET_KEY=***
|
||||
- S3_SECRET_KEY=minioadmin
|
||||
- S3_REGION=us-east-1
|
||||
depends_on:
|
||||
db:
|
||||
@@ -66,13 +42,13 @@ services:
|
||||
env_file: ../.env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql+asyncpg://imago:imago@db:5432/imago
|
||||
- REDIS_URL=redis://redis:***@db:5432/imago
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- STORAGE_BACKEND=s3
|
||||
- S3_BUCKET=imago
|
||||
- S3_ENDPOINT_URL=http://minio:9000
|
||||
- S3_ACCESS_KEY=minioadmin
|
||||
- S3_SECRET_KEY=*** - S3_REGION=us-east-1
|
||||
- S3_SECRET_KEY=minioadmin
|
||||
- S3_REGION=us-east-1
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user