]>
Commit | Line | Data |
---|---|---|
1 | version: '2' | |
2 | services: | |
3 | nginx: | |
4 | image: nginx | |
5 | ports: | |
6 | - "8080:80" | |
7 | volumes: | |
8 | - ./docker/nginx/nginx.conf:/nginx.conf | |
9 | - ./docker/logs/nginx:/var/log/nginx | |
10 | - .:/var/www/html | |
11 | links: | |
12 | - php:php | |
13 | command: nginx -c /nginx.conf | |
14 | ||
15 | php: | |
16 | build: | |
17 | context: docker/php | |
18 | args: | |
19 | # Set here your timezone using one of this: http://php.net/manual/en/timezones.php | |
20 | timezone: 'Europe/Monaco' | |
21 | ports: | |
22 | - "9000:9000" | |
23 | volumes: | |
24 | - .:/var/www/html | |
25 | #links: | |
26 | # - "postgres:rdbms" | |
27 | # - "mariadb:rdbms" | |
28 | env_file: | |
29 | - ./docker/php/env | |
30 | # Comment non-used DBMS lines | |
31 | # If all DBMS are commented out, sqlite will be used as default | |
32 | # - ./docker/postgres/env | |
33 | # - ./docker/mariadb/env | |
34 | ||
35 | #postgres: | |
36 | # image: postgres:9 | |
37 | # ports: | |
38 | # - "5432:5432" | |
39 | # volumes: | |
40 | # - ./docker/data/pgsql:/var/lib/postgresql/data | |
41 | # env_file: | |
42 | # - ./docker/postgres/env | |
43 | ||
44 | #mariadb: | |
45 | # image: mariadb:10 | |
46 | # ports: | |
47 | # - "3306:3306" | |
48 | # volumes: | |
49 | # - ./docker/data/mariadb:/var/lib/mysql | |
50 | # env_file: | |
51 | # - ./docker/mariadb/env | |
52 | ||
53 | rabbitmq: | |
54 | image: rabbitmq:3-management | |
55 | ports: | |
56 | - "15672:15672" | |
57 | ||
58 | redis: | |
59 | image: redis | |
60 | ports: | |
61 | - "6379:6379" |