-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 824 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 824 Bytes
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
services:
web:
build: ./docker
ports:
- "80:80"
image: cmsqlite/web
container_name: cmsqlite_web
environment:
XDEBUG_CONFIG: remote_host=172.17.0.1
volumes:
- .:/var/www/html
- ./docker/sites-available:/etc/apache2/sites-available
- ./docker/php-ini-overrides.ini:/usr/local/etc/php/conf.d/php-ini-overrides.ini
# if you want to use docker use the Dockerfile in ./docker
# to build your container and replace the web-section above with:
# web:
# build: ./docker/web
# ports:
# - "80:80"
# image: cmsqlite/web
# container_name: cmsqlite_web
# environment:
# XDEBUG_CONFIG: remote_host=172.17.0.1
# volumes:
# - .:/var/www/html
# - ./docker/sites-available:/etc/apache2/sites-available
#
# add cmsqlite.local to your hosts file (/etc/hosts)