-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
52 lines (47 loc) · 1.09 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.8'
services:
laravel:
build:
context: ./laravel
dockerfile: Dockerfile
hostname: laravel
restart: unless-stopped
volumes:
- ./laravel:/var/www/html
working_dir: /var/www/html
command: php artisan rabbitmq:consume --quiet
symfony:
build:
context: ./symfony
dockerfile: Dockerfile
hostname: symfony
restart: unless-stopped
volumes:
- ./symfony:/var/www/html
working_dir: /var/www/html
command: php bin/console rabbitmq:consume --quiet
nestjs:
image: node:21.7
hostname: nestjs
restart: unless-stopped
volumes:
- ./nestjs:/usr/src/app
working_dir: /usr/src/app
command: npm run start
master:
image: node:21.7
hostname: master
restart: unless-stopped
volumes:
- ./master:/usr/src/app
working_dir: /usr/src/app
command: npm run start
rabbitmq:
image: rabbitmq:3-management
restart: unless-stopped
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- '36297:15672'
- '38142:5672'