]>
Commit | Line | Data |
---|---|---|
612f5f1e | 1 | version: '2' |
2 | services: | |
3 | nginx: | |
2a61e13f | 4 | image: nginx:alpine |
612f5f1e | 5 | ports: |
2a61e13f | 6 | - "8000:80" |
612f5f1e | 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 | |
e01a3c98 | 14 | |
612f5f1e | 15 | php: |
16 | build: | |
17 | context: docker/php | |
18 | args: | |
b80841f2 | 19 | # Set here your timezone using one of this: http://php.net/manual/en/timezones.php |
612f5f1e | 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 | |
e01a3c98 | 34 | |
2a61e13f JB |
35 | # postgres: |
36 | # image: postgres:11-alpine | |
612f5f1e | 37 | # ports: |
38 | # - "5432:5432" | |
39 | # volumes: | |
40 | # - ./docker/data/pgsql:/var/lib/postgresql/data | |
41 | # env_file: | |
42 | # - ./docker/postgres/env | |
e01a3c98 | 43 | |
2a61e13f | 44 | # mariadb: |
612f5f1e | 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 | |
e01a3c98 | 52 | |
2a61e13f JB |
53 | # rabbitmq: |
54 | # image: rabbitmq:3-management-alpine | |
55 | # ports: | |
56 | # - "15672:15672" | |
e01a3c98 | 57 | |
a622fbc4 | 58 | redis: |
2a61e13f | 59 | image: redis:4-alpine |
e01a3c98 JB |
60 | ports: |
61 | - "6379:6379" |