mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
🚥 docs: fixed Traefik web layout (#2305)
Fixed Traefik config for broken web rending
This commit is contained in:
parent
e418edd3dc
commit
94950b6e8b
1 changed files with 44 additions and 41 deletions
|
|
@ -25,10 +25,10 @@ weight: 10
|
||||||
|
|
||||||
In your docker-compose.override.yml file, add the following configuration:
|
In your docker-compose.override.yml file, add the following configuration:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
@ -42,7 +42,7 @@ weight: 10
|
||||||
volumes:
|
volumes:
|
||||||
- ./librechat.yaml:/app/librechat.yaml
|
- ./librechat.yaml:/app/librechat.yaml
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v2.9
|
image: traefik:v2.9
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
|
@ -63,12 +63,15 @@ traefik:
|
||||||
- "--certificatesresolvers.leresolver.acme.email=your@email.com"
|
- "--certificatesresolvers.leresolver.acme.email=your@email.com"
|
||||||
- "--certificatesresolvers.leresolver.acme.storage=/letsencrypt/acme.json"
|
- "--certificatesresolvers.leresolver.acme.storage=/letsencrypt/acme.json"
|
||||||
|
|
||||||
networks:
|
# other configs here #
|
||||||
|
|
||||||
|
# NOTE: This needs to be at the bottom of your docker-compose.override.yml
|
||||||
|
networks:
|
||||||
web:
|
web:
|
||||||
external: true
|
external: true
|
||||||
librechat_default:
|
librechat_default:
|
||||||
external: true
|
external: true
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace `your@email.com` with your email address for Let's Encrypt certificate notifications.
|
Replace `your@email.com` with your email address for Let's Encrypt certificate notifications.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue