feat: 初始化 SpringBoot + 前端全栈博客项目
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
container_name: blog-backend
|
||||
restart: always
|
||||
ports:
|
||||
- "8089:8080"
|
||||
|
||||
frontend:
|
||||
image: nginx:alpine
|
||||
container_name: blog-frontend
|
||||
restart: always
|
||||
ports:
|
||||
- "8088:80"
|
||||
volumes:
|
||||
- ./frontend:/usr/share/nginx/html
|
||||
Reference in New Issue
Block a user