-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
91 lines (91 loc) · 2.26 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "3"
services:
mariadb:
build:
context: "."
dockerfile: "docker/mariadb.Dockerfile"
ports:
- "3360:3306"
networks:
- "default"
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "wri_restoration_marketplace_api"
MYSQL_USER: "wri"
MYSQL_PASSWORD: "wri"
php:
depends_on:
- "mariadb"
- "mailcatcher"
- "minio"
- "motocker"
- "redis"
build:
context: "."
dockerfile: "docker/php.Dockerfile"
ports:
- "8080:80"
networks:
- "default"
volumes:
- ".:/var/www/html"
extra_hosts: # <--- this is required
- "host.docker.internal:host-gateway" # <--- this is required
composer:
image: "composer:2.5.1"
volumes:
- ".:/app"
- "~/.composer:/tmp"
command: "composer about"
networks:
- "default"
npm:
image: "node:8"
volumes:
- ".:/usr/src/app"
command: "npm --version"
working_dir: "/usr/src/app"
networks:
- "default"
mailcatcher:
image: "jeanberu/mailcatcher"
networks:
- "default"
ports:
- "1025:1025"
- "1080:1080"
minio:
image: "3sidedcube/minio"
networks:
- "default"
ports:
- "9000:9000"
environment:
MINIO_ACCESS_KEY: "AKIABUVWH1HUD7YQZQAR"
MINIO_SECRET_KEY: "PVMlDMep3/jLSz9GxPV3mTvH4JZynkf2BFeTu+i8"
motocker:
image: "picadoh/motocker"
networks:
- "default"
ports:
- "9911:9911"
environment:
MOTO_SERVICE: "sns"
MOTO_HOST: "0.0.0.0"
MOTO_PORT: "9911"
elastictranscoder:
image: "3sidedcube/elasticphanscoder"
networks:
- "default"
ports:
- "2323:2323"
redis:
image: "redis:5.0.9"
networks:
- "default"
ports:
- "6379:6379"
environment:
REDIS_PASSWORD: "test_redis"
networks:
default: