mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
24 lines
373 B
YAML
24 lines
373 B
YAML
services:
|
|
dev:
|
|
build: .
|
|
command: npm run start:dev
|
|
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"
|