update docker compose up

This commit is contained in:
Maidul Islam
2024-02-08 10:50:25 -05:00
parent 1b0591def8
commit dcab9dcdda

View File

@ -28,7 +28,7 @@ jobs:
run: docker build --tag infisical-api .
working-directory: backend
- name: Start postgres and redis
run: touch .env && docker-compose -f "docker-compose.pg.yml" up db redis -d
run: touch .env && docker-compose -f docker-compose.pg.yml up -d db redis
- name: Start the server
run: docker run --name infisical-api -d -p 4000:4000 -e DB_CONNECTION_URI=$DB_CONNECTION_URI -e REDIS_URL=$REDIS_URL -e JWT_AUTH_SECRET=$JWT_AUTH_SECRET --entrypoint '/bin/sh' infisical-api -c "npm run migration:latest && ls && node dist/main.mjs"
env: