mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-04 00:06:22 +00:00
- Implemented `getPostById` API function to fetch a post by its ID. - Refactored the main page to use a new `BlogHome` component for better organization. - Added loading state and sorting functionality for posts on the blog home page. - Integrated label fetching and display on the blog home page. - Enhanced the blog card component with improved layout and statistics display. - Updated the navbar to use dynamic configuration values. - Added Docker support with a comprehensive build and push workflow. - Created a custom hook `useStoredState` for managing local storage state. - Added a new page for displaying individual posts with metadata generation. - Removed unused components and files to streamline the codebase.
22 lines
431 B
YAML
22 lines
431 B
YAML
services:
|
|
frontend:
|
|
container_name: neo-blog-frontend
|
|
networks:
|
|
- neo-blog-network
|
|
image: snowykami/neo-blog-frontend:latest
|
|
restart: always
|
|
|
|
backend:
|
|
container_name: neo-blog-backend
|
|
networks:
|
|
- neo-blog-network
|
|
image: snowykami/neo-blog-backend:latest
|
|
restart: always
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./.env:/app/.env
|
|
|
|
networks:
|
|
neo-blog-network:
|
|
driver: bridge
|