From 8d0d3b17dc8b3e4e271169a19ce417e2dec73258 Mon Sep 17 00:00:00 2001 From: Asher Foa Date: Wed, 4 Jun 2025 02:49:20 -0400 Subject: [PATCH] Use .env file for skyvern UI service (#2568) --- docker-compose.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9cd25dfc..6d664c22 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=