You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,29 @@ The `pages/api` directory is mapped to `/api/*`. Files in this directory are tre
48
48
49
49
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
50
50
51
+
## Docker
52
+
53
+
docker:
54
+
55
+
```bash
56
+
docker run -itd --name=metaweblog-api -p 6333:3000 -e TZ=Asia/Shanghai --restart=unless-stopped nn200433/metaweblog-api:latest
57
+
```
58
+
59
+
docker-compose:
60
+
61
+
```yaml
62
+
version: '3'
63
+
services:
64
+
metaweblog-api:
65
+
image: nn200433/metaweblog-api:latest
66
+
container_name: metaweblog-api
67
+
restart: unless-stopped
68
+
ports:
69
+
- 6333:3000
70
+
environment:
71
+
- TZ=Asia/Shanghai
72
+
```
73
+
51
74
## Learn More
52
75
53
76
To learn more about Next.js, take a look at the following resources:
0 commit comments