feat: add transit microservice and supervisor dashboard
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
transit-db:
|
||||
image: postgres:15-alpine
|
||||
container_name: tripz-transit-db
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "5433:5432" # Exposed on 5433 to avoid conflict with main DB
|
||||
volumes:
|
||||
- transit_pgdata:/var/lib/postgresql/data
|
||||
|
||||
transit-api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: tripz-transit-api
|
||||
ports:
|
||||
- "4020:4020"
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
- transit-db
|
||||
|
||||
volumes:
|
||||
transit_pgdata:
|
||||
Reference in New Issue
Block a user