add on demand download

This commit is contained in:
JMARyA 2024-12-29 16:58:58 +01:00
parent 319b663694
commit d8ca94bd0b
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
4 changed files with 64 additions and 27 deletions

View file

@ -11,6 +11,10 @@ services:
- "DATABASE_URL=postgres://user:pass@postgres/webarc"
- "RUST_LOG=info"
- "ROCKET_ADDRESS=0.0.0.0"
# Rewrite links to point back to the archive itself
- "ROUTE_INTERNAL=true"
# Download missing routes on demand
- "DOWNLOAD_ON_DEMAND=true"
postgres:
image: timescale/timescaledb:latest-pg16