-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (42 loc) · 1.17 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
apache:
restart: always
image: fusengine/apache-php
ports:
- "80:80"
volumes: # creation de volume entre les machines DossierLocal{mac}:DossierConteneur{docker}
- /Users/brunoazoulay/Docker/lab/local.dev:/app/web
- /Users/brunoazoulay/Docker/lab/config/php.ini:/etc/php/php/7.0/apache2/conf.d/30-custom.ini
- /Users/brunoazoulay/Docker/lab/config/sites:/etc/apache2/sites-enabled
environment:
- ALLOW_OVERRIDE=true
links: #creation de lien entre conteneur
- bdd
- maildev
# Base de donnée MariaDB
bdd:
restart: always
image: fusengine/mariadb-osx
volumes:
- /Users/brunoazoulay/Docker/BDD:/var/lib/mysql
ports:
- "36:3306"
# Serveur MailDev
maildev:
restart: always
image: djfarrelly/maildev
ports:
- "81:80" # le port 1080 va communiquwe avec le port 80 de notre machine
# Bower
bower:
restart: always
image: fusengine/docker-bower-gulp-browserify
volumes:
- /Users/brunoazoulay/Docker/lab/local.dev:/data
# composer
composer:
restart: always
image: fusengine/composer-laravel
environment:
- GITHUB_TOKEN=yourtokengit
volumes:
- /Users/brunoazoulay/Docker/lab/local.dev:/var/www/html