mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +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:
|
||||
|
||||
```yaml
|
||||
version: '3'
|
||||
```yaml
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
services:
|
||||
api:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
|
@ -42,7 +42,7 @@ weight: 10
|
|||
volumes:
|
||||
- ./librechat.yaml:/app/librechat.yaml
|
||||
|
||||
traefik:
|
||||
traefik:
|
||||
image: traefik:v2.9
|
||||
ports:
|
||||
- "80:80"
|
||||
|
|
@ -63,12 +63,15 @@ traefik:
|
|||
- "--certificatesresolvers.leresolver.acme.email=your@email.com"
|
||||
- "--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:
|
||||
external: true
|
||||
librechat_default:
|
||||
external: true
|
||||
```
|
||||
```
|
||||
|
||||
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