]>
Commit | Line | Data |
---|---|---|
612f5f1e | 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 | php: | |
15 | build: | |
16 | context: docker/php | |
17 | args: | |
b80841f2 | 18 | # Set here your timezone using one of this: http://php.net/manual/en/timezones.php |
612f5f1e | 19 | timezone: 'Europe/Monaco' |
20 | ports: | |
21 | - "9000:9000" | |
22 | volumes: | |
23 | - .:/var/www/html | |
24 | #links: | |
25 | # - "postgres:rdbms" | |
26 | # - "mariadb:rdbms" | |
27 | env_file: | |
28 | - ./docker/php/env | |
29 | # Comment non-used DBMS lines | |
30 | # If all DBMS are commented out, sqlite will be used as default | |
31 | # - ./docker/postgres/env | |
32 | # - ./docker/mariadb/env | |
33 | #postgres: | |
34 | # image: postgres:9 | |
35 | # ports: | |
36 | # - "5432:5432" | |
37 | # volumes: | |
38 | # - ./docker/data/pgsql:/var/lib/postgresql/data | |
39 | # env_file: | |
40 | # - ./docker/postgres/env | |
41 | #mariadb: | |
42 | # image: mariadb:10 | |
43 | # ports: | |
44 | # - "3306:3306" | |
45 | # volumes: | |
46 | # - ./docker/data/mariadb:/var/lib/mysql | |
47 | # env_file: | |
48 | # - ./docker/mariadb/env |