Small changes
This commit is contained in:
parent
a7d528fb68
commit
f9bd218a3e
9 changed files with 212 additions and 16 deletions
|
|
@ -5,13 +5,14 @@ services:
|
|||
command: >
|
||||
bash -c "
|
||||
cargo install cargo-watch &&
|
||||
cargo watch -x 'run -- --data /data/wide.parquet --pois /data/filtered_uk_pois.parquet --tiles /data/uk.pmtiles --postcodes /data/postcodes --pocketbase-url http://pocketbase:8090'
|
||||
cargo watch -x 'run -- --data /data/wide.parquet --pois /data/filtered_uk_pois.parquet --tiles /data/uk.pmtiles --postcodes /data/postcodes'
|
||||
"
|
||||
ports:
|
||||
- "8001:8001"
|
||||
networks:
|
||||
- ollama-network
|
||||
- dev-network
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- .:/app
|
||||
- /bulk/property-data:/data:ro
|
||||
|
|
@ -19,7 +20,8 @@ services:
|
|||
- cargo-target:/app/server-rs/target
|
||||
environment:
|
||||
POCKETBASE_URL: http://pocketbase:8090
|
||||
G_SIDECAR_URL: http://og-screenshot:8002
|
||||
OG_SIDECAR_URL: http://og-screenshot:8002
|
||||
OLLAMA_URL: http://host.docker.internal:11434
|
||||
depends_on:
|
||||
pocketbase:
|
||||
condition: service_healthy
|
||||
|
|
@ -72,6 +74,8 @@ services:
|
|||
- "8090:8090"
|
||||
volumes:
|
||||
- pb-data:/pb/pb_data
|
||||
networks:
|
||||
- dev-network
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8090/api/health"]
|
||||
interval: 10s
|
||||
|
|
@ -87,5 +91,4 @@ volumes:
|
|||
og-cache:
|
||||
|
||||
networks:
|
||||
ollama-network:
|
||||
dev-network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue