Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -11
Dockerfile
CHANGED
@@ -1,11 +1 @@
|
|
1 |
-
|
2 |
-
uni-api:
|
3 |
-
container_name: uni-api
|
4 |
-
image: yym68686/uni-api:latest
|
5 |
-
environment:
|
6 |
-
- CONFIG_URL=http://file_url/api.yaml # 如果已经挂载了本地配置文件,不需要设置 CONFIG_URL
|
7 |
-
ports:
|
8 |
-
- 8001:8000
|
9 |
-
volumes:
|
10 |
-
- ./api.yaml:/home/api.yaml # 如果已经设置 CONFIG_URL,不需要挂载配置文件
|
11 |
-
- ./uniapi_db:/home/data # 如果不想保存统计数据,不需要挂载该文件夹
|
|
|
1 |
+
from gtxy27/harbor-api:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|