Use .env file for skyvern UI service (#2568)

This commit is contained in:
Asher Foa
2025-06-04 02:49:20 -04:00
committed by GitHub
parent 06d026a231
commit 8d0d3b17dc

View File

@@ -141,15 +141,17 @@ services:
- ./videos:/data/videos - ./videos:/data/videos
- ./har:/data/har - ./har:/data/har
- ./.streamlit:/app/.streamlit - ./.streamlit:/app/.streamlit
environment: env_file:
- VITE_ENABLE_CODE_BLOCK=true - skyvern-frontend/.env
environment: {}
# - VITE_ENABLE_CODE_BLOCK=true
# if you want to run skyvern on a remote server, # if you want to run skyvern on a remote server,
# you need to change the host in VITE_WSS_BASE_URL and VITE_API_BASE_URL to match your server ip # you need to change the host in VITE_WSS_BASE_URL and VITE_API_BASE_URL to match your server ip
# If you're self-hosting this behind a dns, you'll want to set: # If you're self-hosting this behind a dns, you'll want to set:
# A route for the API: api.yourdomain.com -> localhost:8000 # A route for the API: api.yourdomain.com -> localhost:8000
# A route for the UI: yourdomain.com -> localhost:8080 # A route for the UI: yourdomain.com -> localhost:8080
# A route for the artifact API: artifact.yourdomain.com -> localhost:9090 (maybe not needed) # A route for the artifact API: artifact.yourdomain.com -> localhost:9090 (maybe not needed)
- VITE_WSS_BASE_URL=ws://localhost:8000/api/v1 # - VITE_WSS_BASE_URL=ws://localhost:8000/api/v1
# - VITE_ARTIFACT_API_BASE_URL=http://localhost:9090 # - VITE_ARTIFACT_API_BASE_URL=http://localhost:9090
# - VITE_API_BASE_URL=http://localhost:8000/api/v1 # - VITE_API_BASE_URL=http://localhost:8000/api/v1
# - VITE_SKYVERN_API_KEY=<get this from "settings" in the Skyvern UI> # - VITE_SKYVERN_API_KEY=<get this from "settings" in the Skyvern UI>