🚥 docs: fixed Traefik web layout (#2305)

Fixed Traefik config for broken web rending
This commit is contained in:
Ventz Petkov 2024-04-04 08:08:31 -04:00 committed by GitHub
parent e418edd3dc
commit 94950b6e8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.