-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·53 lines (49 loc) · 1.07 KB
/
docker-compose.yml
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
53
version: '3.3'
services:
users-api:
image: marketplace_shop_users
build:
context: .
command: php -S 0.0.0.0:8000 -t public/
volumes:
- .:/src
- /src/vendor
ports:
- "1003:8000"
environment:
- PHP_IDE_CONFIG=serverName=docker
users-sync:
image: marketplace_shop_users
command: php artisan amqp:sync_worker
volumes:
- .:/src
- /src/vendor
environment:
- PHP_IDE_CONFIG=serverName=docker
depends_on:
- users-api
users-async:
image: marketplace_shop_users
command: php artisan amqp:async_worker
volumes:
- .:/src
- /src/vendor
environment:
- PHP_IDE_CONFIG=serverName=docker
depends_on:
- users-api
users-unit-test:
image: marketplace_shop_users
command: php vendor/bin/phpunit --configuration=phpunit.xml
volumes:
- .:/src
- /src/vendor
environment:
- PHP_IDE_CONFIG=serverName=docker
- UNIT_TEST=1
env_file:
- .env.testing
networks:
default:
external:
name: marketplace-network