feat: integrate S3 storage adapter and update file upload functionality
This commit is contained in:
37
docker/docker-compose.yml
Normal file
37
docker/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: hideyoshi-blog
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: local_db
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- '5332:5432'
|
||||
networks:
|
||||
- internal
|
||||
|
||||
storage:
|
||||
image: rustfs/rustfs:latest
|
||||
restart: always
|
||||
environment:
|
||||
RUSTFS_ACCESS_KE: rustfsadmin
|
||||
RUSTFS_SECRET_KE: rustfsadmin
|
||||
ports:
|
||||
- '9000:9000'
|
||||
- '9001:9001'
|
||||
volumes:
|
||||
- storage_data:/data
|
||||
networks:
|
||||
- internal
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
storage_data:
|
||||
|
||||
networks:
|
||||
internal:
|
||||
Reference in New Issue
Block a user