cyborg-ai-git
commited on
Commit
·
9c8f1da
1
Parent(s):
9099f0d
init
Browse files- Dockerfile +1 -1
- README.md +1 -0
- peer_config.yaml +2 -2
Dockerfile
CHANGED
@@ -27,6 +27,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
27 |
COPY --chown=user peer_config.yaml /app
|
28 |
COPY --chown=user main.py /app
|
29 |
|
30 |
-
EXPOSE
|
31 |
|
32 |
CMD ["python", "main.py"]
|
|
|
27 |
COPY --chown=user peer_config.yaml /app
|
28 |
COPY --chown=user main.py /app
|
29 |
|
30 |
+
EXPOSE 7860
|
31 |
|
32 |
CMD ["python", "main.py"]
|
README.md
CHANGED
@@ -5,6 +5,7 @@ colorFrom: gray
|
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
7 |
pinned: false
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
+
app_port: 7860
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
peer_config.yaml
CHANGED
@@ -15,8 +15,8 @@ peer:
|
|
15 |
enumApiVisibility : PUBLIC #[ PRIVATE, PUBLIC, LOCAL]
|
16 |
enumApiTunnel : LOCAL #[ LOCAL, NGROK, PINNGY, CLOUDFLARE, REMOTEIP]
|
17 |
localAddress: "127.0.0.1" #["0.0.0.0","127.0.0.1",..]
|
18 |
-
localPort:
|
19 |
-
remotePort:
|
20 |
api: #valid type: module.CApi : isEnabled
|
21 |
evo_package_admin.control.CAdminApi : true
|
22 |
evo_package_pdf.control.CPdfApi : false
|
|
|
15 |
enumApiVisibility : PUBLIC #[ PRIVATE, PUBLIC, LOCAL]
|
16 |
enumApiTunnel : LOCAL #[ LOCAL, NGROK, PINNGY, CLOUDFLARE, REMOTEIP]
|
17 |
localAddress: "127.0.0.1" #["0.0.0.0","127.0.0.1",..]
|
18 |
+
localPort: 7860
|
19 |
+
remotePort: 7860
|
20 |
api: #valid type: module.CApi : isEnabled
|
21 |
evo_package_admin.control.CAdminApi : true
|
22 |
evo_package_pdf.control.CPdfApi : false
|