forked from ScrapeGraphAI/Scrapegraph-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
25 lines (23 loc) · 1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: "3.9"
networks:
t2_proxy:
external: true
services:
scrapegraphailab:
image: scrapegraphailab
container_name: scrapegraphailab-container
networks:
- t2_proxy
restart: unless-stopped
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.scrapegraphailab-rtr.entrypoints=https"
- "traefik.http.routers.scrapegraphailab-rtr.rule=Host(`scrapegraphailab.example.com`)"
## Middlewares
- "traefik.http.routers.scrapegraphailab-rtr.middlewares=chain-no-auth@file" # For no Authentication
# - "traefik.http.routers.scrapegraphailab-rtr.middlewares=chain-basic-auth@file" # For Basic HTTP Authentication
# - "traefik.http.routers.scrapegraphailab-rtr.middlewares=chain-authentik@file" # For AUTHENTIK Authentication
## HTTP Services
- "traefik.http.routers.scrapegraphailab-rtr.service=scrapegraphailab-svc"
- "traefik.http.services.scrapegraphailab-svc.loadbalancer.server.port=8501"