first commit
This commit is contained in:
+4
-4
@@ -8,12 +8,12 @@ services:
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- "${POSTGIS_PORT:-5432}:5432"
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "${REDIS_PORT:-6379}:6379"
|
||||
|
||||
api:
|
||||
build: ./api
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
volumes:
|
||||
- ./data:/data:ro
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "${API_PORT:-8000}:8000"
|
||||
command: gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w 4 -b 0.0.0.0:8000
|
||||
|
||||
worker:
|
||||
@@ -42,7 +42,7 @@ services:
|
||||
profiles:
|
||||
- tiler
|
||||
ports:
|
||||
- "8001:8000"
|
||||
- "${TILER_PORT:-8001}:8000"
|
||||
volumes:
|
||||
- ./data:/data:ro
|
||||
|
||||
|
||||
Reference in New Issue
Block a user