-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·72 lines (65 loc) · 1.35 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
version: '3'
services:
mariadb:
image: mariadb:10.3
restart: always
volumes:
- ./mariadb:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: example_pwd
phpmyadmin:
image: phpmyadmin/phpmyadmin
links:
- mariadb:db
ports:
- 8021:80
environment:
MYSQL_ROOT_PASSWORD: example_pwd
depends_on:
- mariadb
php:
build:
context: ./
dockerfile: php/Dockerfile
volumes:
- ./web-app:/usr/share/nginx/html
- ./php/logs:/www/tmp/logs
- ./php/tmp:/tmp
depends_on:
- mariadb
composer:
image: composer
working_dir: /web-app
command: install --ignore-platform-reqs
volumes:
- ./web-app:/web-app
depends_on:
- php
gulp:
build:
context: ./
dockerfile: gulp/Dockerfile
volumes:
- ./web-app:/web-app
- ./gulp:/gulp
environment:
- PION_EXMPL_DEBUG
nginx:
image: nginx:1.13
ports:
- 8020:80
volumes:
- ./web-app:/usr/share/nginx/html
- ./nginx/site.conf:/etc/nginx/conf.d/site.conf
depends_on:
- php
- composer
ofelia:
image: mcuadros/ofelia:latest
volumes:
- ./ofelia/config.ini:/etc/ofelia/config.ini
- /var/run/docker.sock:/var/run/docker.sock
- ./ofelia/logs:/tmp/logs
restart: always
depends_on:
- php