chore: update environment configuration and Docker setup

- Added .env.example file for environment variable documentation
- Refactored docker-compose.yml to use environment variables for API URLs
- Updated TypeScript configuration to use NodeNext module resolution
This commit is contained in:
Juan Sebastián Montoya 2025-04-10 14:36:22 -05:00
parent f5638d0e84
commit cffcddb259
5 changed files with 25 additions and 22 deletions

View file

@ -27,14 +27,10 @@ services:
context: .
dockerfile: ./apps/web/Dockerfile
args:
VITE_API_URL: https://chat-api.jusemon.com/graphql
VITE_WS_URL: wss://chat-api.jusemon.com/graphql
VITE_API_URL: ${VITE_API_URL}
VITE_WS_URL: ${VITE_WS_URL}
container_name: unreal-chat-web
restart: unless-stopped
environment:
- NODE_ENV=production
- VITE_API_URL=https://chat-api.jusemon.com/graphql
- VITE_WS_URL=wss://chat-api.jusemon.com/graphql
networks:
default: