Compare commits
2 Commits
d8a53bacb6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21e97ada0d | ||
|
|
19653290a6 |
@@ -32,8 +32,8 @@ Create a configuration file or set environment variables:
|
||||
```python
|
||||
# main.py configuration
|
||||
BASE_URL = "https://www.troostwijkauctions.com"
|
||||
CACHE_DB = "/var/troost-scraper/cache.db"
|
||||
OUTPUT_DIR = "/var/troost-scraper/output"
|
||||
CACHE_DB = "/mnt/okcomputer/output/cache.db"
|
||||
OUTPUT_DIR = "/mnt/okcomputer/output"
|
||||
RATE_LIMIT_SECONDS = 0.5
|
||||
MAX_PAGES = 50
|
||||
```
|
||||
|
||||
@@ -7,12 +7,12 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik_net
|
||||
volumes:
|
||||
- /opt/apps/scaev/output:/mnt/okcomputer/output
|
||||
environment:
|
||||
RATE_LIMIT_SECONDS: "0.5"
|
||||
MAX_PAGES: "50"
|
||||
DOWNLOAD_IMAGES: "False"
|
||||
volumes:
|
||||
- shared-auction-data:/mnt/okcomputer/output
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.scaev.rule=Host(`scaev.appmodel.nl`)"
|
||||
@@ -21,7 +21,12 @@ services:
|
||||
- "traefik.http.routers.scaev.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.scaev.loadbalancer.server.port=8000"
|
||||
|
||||
|
||||
networks:
|
||||
traefik_net:
|
||||
external: true
|
||||
name: traefik_net
|
||||
name: traefik_net
|
||||
|
||||
volumes:
|
||||
shared-auction-data:
|
||||
external: true
|
||||
Reference in New Issue
Block a user