Skip to content

Commit

Permalink
updated local run docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Oct 31, 2024
1 parent c2661ca commit 89226f1
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
services:
qacc-be:
container_name: qacc-be
qacc-be-graph-ql:
container_name: qacc-be-graph-ql
build: .
profiles:
- server
command: npm run start:docker:locally
environment:
- ENVIRONMENT=local
- LOG_PATH=/usr/src/app/logs/qacc.log
- GRAPHQL_MODE=true
restart: always
volumes:
- ./config:/usr/src/app/config
Expand All @@ -18,6 +19,24 @@ services:
ports:
- '4001:4000'

qacc-be:
container_name: qacc-be-job
build: .
profiles:
- server
command: npm run start:docker:locally
environment:
- ENVIRONMENT=local
- LOG_PATH=/usr/src/app/logs/qacc.log
- JOB_MODE=true
restart: always
volumes:
- ./config:/usr/src/app/config
- ./config:/usr/src/app/build/config
- ./logs:/usr/src/app/logs
networks:
- qacc

qacc-postgres:
container_name: qacc-postgres
image: postgres:16
Expand Down

0 comments on commit 89226f1

Please sign in to comment.