Skip to content

Automate browser based workflows with AI

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

Asher Foa8d0d3b17dc8b
diff --git a/docker-compose.yml b/docker-compose.yml
index 9cd25dfc4..6d664c223 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -141,15 +141,17 @@ services:
- ./videos:/data/videos
- ./har:/data/har
- ./.streamlit:/app/.streamlit
- environment:
- - VITE_ENABLE_CODE_BLOCK=true
+ env_file:
+ - skyvern-frontend/.env
+ environment: {}
+ # - VITE_ENABLE_CODE_BLOCK=true
# 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
# 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 UI: yourdomain.com -> localhost:8080
# 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_API_BASE_URL=http://localhost:8000/api/v1
# - VITE_SKYVERN_API_KEY=<get this from "settings" in the Skyvern UI>