fix: renombrar a compose.yaml y quitar image para Dockge

This commit is contained in:
JRike24 2026-06-27 21:15:59 -05:00
parent 19aaeb8619
commit 4193336775
2 changed files with 10 additions and 9 deletions

View file

@ -40,15 +40,17 @@ Configura la URL del webhook en `public/config.js` (runtime) o `.env`
## Docker (Dockge) ## Docker (Dockge)
El archivo de compose es `compose.yaml` (nombre que Dockge reconoce por defecto).
En Dockge: crea un stack llamado `webchatv2` y copia el contenido del repo en su
carpeta (`~/.dockge/stacks/webchatv2/`), o clona el repo ahí. Dockge detectará el
`compose.yaml` y podrás levantar/compilar desde la UI.
Por CLI equivalente:
```bash ```bash
docker compose up -d --build docker compose -f compose.yaml up -d --build
``` ```
Expone el sitio en `http://localhost:8080`. Para cambiar la URL del webhook sin Expone el sitio en `http://localhost:8080`. Para cambiar la URL del webhook sin
reconstruir, edita el `config.js` servido por nginx reconstruir, edita `public/config.js` del repo (ya montado como volumen en
(`/usr/share/nginx/html/config.js`) o monta un volumen: `/usr/share/nginx/html/config.js`) y recarga la página.
```yaml
volumes:
- ./config.js:/usr/share/nginx/html/config.js:ro
```

View file

@ -1,7 +1,6 @@
services: services:
chat-ui: chat-ui:
build: . build: .
image: webchatv2:latest
container_name: webchatv2 container_name: webchatv2
restart: unless-stopped restart: unless-stopped
ports: ports: