mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
36 lines
579 B
YAML
36 lines
579 B
YAML
services:
|
|
dev:
|
|
build: .
|
|
command: npm run start:dev
|
|
ports:
|
|
- "4000:4000"
|
|
env_file: .env
|
|
depends_on:
|
|
- redis
|
|
volumes:
|
|
- .:/usr/src/app
|
|
|
|
app-integration-test:
|
|
build: .
|
|
command: npm run start:dev integration-testing
|
|
ports:
|
|
- "4000:4000"
|
|
env_file: .env
|
|
depends_on:
|
|
- redis
|
|
volumes:
|
|
- .:/usr/src/app
|
|
|
|
test:
|
|
build: .
|
|
command: npm run test
|
|
env_file: .env
|
|
depends_on:
|
|
- redis
|
|
volumes:
|
|
- .:/usr/src/app
|
|
redis:
|
|
image: redis:alpine
|
|
ports:
|
|
- "6379:6379"
|