-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
66 lines (63 loc) · 1.21 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
networks:
laranet:
volumes:
mysql-data:
mongodb-data:
services:
pma:
environment:
PMA_HOST: database
image: phpmyadmin/phpmyadmin
networks:
laranet: null
ports:
- published: 8080
target: 80
app:
build:
context: .
dockerfile: app.dockerfile
environment:
DB_HOST: database
DB_PORT: "3306"
networks:
laranet: null
ports:
- "80:80"
volumes:
- ./www:/var/www
database:
environment:
MYSQL_DATABASE: laravel
MYSQL_PASSWORD: laravel
MYSQL_ROOT_PASSWORD: laravel
MYSQL_USER: laravel
image: mariadb:10.4-bionic
networks:
laranet: null
ports:
- published: 3306
target: 3306
volumes:
- mysql-data:/var/lib/mysql
mongo:
environment:
MONGO_INITDB_ROOT_USERNAME: laravel
MONGO_INITDB_ROOT_PASSWORD: laravel
MONGO_INITDB_DATABASE: laravel
image: mongo:4.2.6-bionic
networks:
laranet: null
ports:
- published: 27017
target: 27017
volumes:
- mongodb-data:/data/db
queue:
image: redis:5-alpine
networks:
laranet: null
ports:
- published: 6379
target: 6379
version: "3.7"