Modernize stack (React 19, Vite, Node 24) and add map preview features
This commit is contained in:
+8
-6
@@ -2,16 +2,18 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgis/postgis:15-3.3-alpine
|
||||
image: kartoza/postgis:latest
|
||||
platform: linux/arm64
|
||||
container_name: line-of-sight-db
|
||||
environment:
|
||||
POSTGRES_DB: line_of_sight
|
||||
POSTGRES_USER: line_of_sight
|
||||
POSTGRES_PASSWORD: line_of_sight_pass
|
||||
- POSTGRES_DB=line_of_sight
|
||||
- POSTGRES_USER=line_of_sight
|
||||
- POSTGRES_PASS=line_of_sight_pass
|
||||
- ALLOW_IP_RANGE=0.0.0.0/0
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- pgdata:/var/lib/postgresql
|
||||
- ./docker/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U line_of_sight"]
|
||||
@@ -44,7 +46,7 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- REACT_APP_API_URL=http://localhost:3001/api
|
||||
- VITE_API_URL=http://localhost:3001/api
|
||||
depends_on:
|
||||
- backend
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user