add deployment pipeline

This commit is contained in:
SennayT
2026-05-14 14:30:19 +03:00
parent e62273c8de
commit ae950edae0
2 changed files with 101 additions and 0 deletions

21
docker-compose.yaml Normal file
View File

@@ -0,0 +1,21 @@
services:
freight-api:
build:
context: .
dockerfile: ./Dockerfile
target: freight-api
env_file:
- .env
ports:
- ${PORT}:${PORT}
restart: unless-stopped
passenger-api:
build:
context: .
dockerfile: ./Dockerfile
target: passenger-api
env_file:
- .env
ports:
- ${PORT}:${PORT}
restart: unless-stopped