38 lines
777 B
YAML
38 lines
777 B
YAML
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:
|