Fun changes
This commit is contained in:
parent
cd778dd088
commit
349a6c1d53
60 changed files with 1260 additions and 2600 deletions
|
|
@ -10,7 +10,7 @@ services:
|
|||
command: >
|
||||
bash -c "
|
||||
cargo install cargo-watch &&
|
||||
cargo watch -i logs/ -x 'run -- --properties /app/data/properties.parquet --postcode-features /app/data/postcode.parquet --listings-buy /app/data-scraped/online_listings_buy.parquet --listings-rent /app/data-scraped/online_listings_rent.parquet --pois /app/data/filtered_uk_pois.parquet --places /app/data/places.parquet --tiles /app/data/uk.pmtiles --postcodes /app/data/postcode_boundaries --travel-times /app/data/travel-times'
|
||||
cargo watch -i logs/ -x 'run -- --properties /app/data/properties.parquet --postcode-features /app/data/postcode.parquet --pois /app/data/filtered_uk_pois.parquet --places /app/data/places.parquet --tiles /app/data/uk.pmtiles --postcodes /app/data/postcode_boundaries --travel-times /app/data/travel-times'
|
||||
"
|
||||
ports:
|
||||
- "8001:8001"
|
||||
|
|
@ -30,7 +30,6 @@ services:
|
|||
- cargo-target:/app/server-rs/target
|
||||
- ./property-data:/app/data:ro
|
||||
- ./property-data/travel-times:/app/data/travel-times:ro
|
||||
- /volumes/narrowit/property-data/scraped:/app/data-scraped:ro
|
||||
environment:
|
||||
POCKETBASE_URL: http://pocketbase:8090
|
||||
POCKETBASE_ADMIN_EMAIL: *pb-email
|
||||
|
|
@ -108,75 +107,6 @@ services:
|
|||
retries: 3
|
||||
start_period: 5s
|
||||
|
||||
# gluetun:
|
||||
# image: qmcgaw/gluetun:v3.40.4
|
||||
# volumes:
|
||||
# - gluetun-cache-v2:/gluetun
|
||||
# - gluetun-auth:/gluetun/auth:ro
|
||||
# environment:
|
||||
# # See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
|
||||
# VPN_SERVICE_PROVIDER: mullvad
|
||||
# VPN_TYPE: wireguard
|
||||
# WIREGUARD_PRIVATE_KEY: "8FFKmtTvDsZlShnKl/opDDwCwb9v2ox4+Kkl3wX+9Gw="
|
||||
# WIREGUARD_ADDRESSES: "10.66.109.86/32"
|
||||
# OWNED_ONLY: "yes"
|
||||
# UPDATER_PERIOD: 24h
|
||||
# SERVER_COUNTRIES: Serbia,Slovakia,Croatia,Austria,Denmark,Finland
|
||||
# TZ: $TIME_ZONE
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - "1234:1234"
|
||||
# healthcheck:
|
||||
# test: "wget -q https://www.google.com || exit 1"
|
||||
# interval: 1m
|
||||
# timeout: 15s
|
||||
# retries: 2
|
||||
# cap_add:
|
||||
# - NET_ADMIN
|
||||
# devices:
|
||||
# - /dev/net/tun:/dev/net/tun
|
||||
|
||||
# flaresolverr:
|
||||
# image: ghcr.io/flaresolverr/flaresolverr:latest
|
||||
# environment:
|
||||
# LOG_LEVEL: info
|
||||
# TZ: Europe/London
|
||||
# ports:
|
||||
# - "8191:8191"
|
||||
# networks:
|
||||
# - dev-network
|
||||
# restart: unless-stopped
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:8191/health"]
|
||||
# interval: 30s
|
||||
# timeout: 5s
|
||||
# retries: 3
|
||||
# start_period: 30s
|
||||
|
||||
# finder:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile.finder
|
||||
# init: true
|
||||
# network_mode: service:gluetun
|
||||
# volumes:
|
||||
# - ./finder:/app
|
||||
# environment:
|
||||
# FLARESOLVERR_URL: http://flaresolverr:8191
|
||||
# RELOAD_URL: http://server:8001/api/reload
|
||||
# depends_on:
|
||||
# gluetun:
|
||||
# condition: service_healthy
|
||||
# flaresolverr:
|
||||
# condition: service_healthy
|
||||
# restart: unless-stopped
|
||||
# healthcheck:
|
||||
# test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:1234/health')"]
|
||||
# interval: 30s
|
||||
# timeout: 5s
|
||||
# retries: 3
|
||||
# start_period: 60s
|
||||
|
||||
|
||||
volumes:
|
||||
pb-data:
|
||||
|
|
@ -184,8 +114,6 @@ volumes:
|
|||
cargo-target:
|
||||
frontend-node-modules:
|
||||
screenshot-cache:
|
||||
gluetun-cache-v2:
|
||||
gluetun-auth:
|
||||
|
||||
networks:
|
||||
dev-network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue