docker fixes
This commit is contained in:
parent
371604de3f
commit
2f34c9270d
|
|
@ -4,7 +4,7 @@ services:
|
|||
backend:
|
||||
build: ./backend
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8094:8000"
|
||||
environment:
|
||||
- APP_ENV=dev
|
||||
- DATABASE_URL=sqlite+aiosqlite:////app/data/app.db
|
||||
|
|
@ -14,7 +14,7 @@ services:
|
|||
- S3_SECRET_ACCESS_KEY=minioadmin
|
||||
- MEDIA_BUCKET=itcloud-media
|
||||
- JWT_SECRET=dev-secret-key-change-in-production
|
||||
- CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
- CORS_ORIGINS=http://localhost:8095,http://localhost:3000
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
volumes:
|
||||
- ./backend/src:/app/src
|
||||
|
|
@ -27,13 +27,13 @@ services:
|
|||
minio:
|
||||
image: minio/minio:latest
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
- "9090:9000"
|
||||
- "9091:9001"
|
||||
environment:
|
||||
- MINIO_ROOT_USER=minioadmin
|
||||
- MINIO_ROOT_PASSWORD=minioadmin
|
||||
volumes:
|
||||
- minio-data:/data
|
||||
- /mnt/data/s3:/data
|
||||
command: server /data --console-address ":9001"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
||||
|
|
@ -57,7 +57,7 @@ services:
|
|||
redis:
|
||||
image: redis:7-alpine
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "6388:6379"
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
healthcheck:
|
||||
|
|
@ -69,9 +69,9 @@ services:
|
|||
frontend:
|
||||
build: ./frontend
|
||||
ports:
|
||||
- "5173:5173"
|
||||
- "8095:5173"
|
||||
environment:
|
||||
- VITE_API_URL=http://localhost:8000
|
||||
- VITE_API_URL=http://localhost:8094
|
||||
volumes:
|
||||
- ./frontend/src:/app/src
|
||||
- ./frontend/public:/app/public
|
||||
|
|
@ -79,5 +79,4 @@ services:
|
|||
|
||||
volumes:
|
||||
backend-data:
|
||||
minio-data:
|
||||
redis-data:
|
||||
|
|
|
|||
Loading…
Reference in New Issue