File tree Expand file tree Collapse file tree 2 files changed +31
-11
lines changed
Expand file tree Collapse file tree 2 files changed +31
-11
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ services:
2424 DB_PASSWORD : $DB_PASSWORD
2525 DB_NAME : $DB_NAME
2626 DB_DRIVER : $DB_DRIVER
27+ COLUMNS : 80 # Set 80 columns for docker exec -it.
2728# # Read instructions at https://wodby.com/stacks/drupal/docs/local/xdebug/
2829# PHP_XDEBUG: 1
2930# PHP_XDEBUG_DEFAULT_ENABLE: 1
@@ -35,20 +36,28 @@ services:
3536# PHP_XDEBUG_REMOTE_HOST: 10.0.75.1 # Windows, Docker < 18.03
3637 volumes :
3738 - ./:/var/www/html
39+ # # For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
40+ # - ./:/var/www/html:cached # User-guided caching
41+ # - docker-sync:/var/www/html # Docker-sync
3842# # For Xdebug profiler files
3943# - files:/mnt/files
4044
45+
4146 apache :
42- image : wodby/php- apache:$APACHE_TAG
47+ image : wodby/apache:$APACHE_TAG
4348 container_name : " ${PROJECT_NAME}_apache"
4449 depends_on :
4550 - php
4651 environment :
4752 APACHE_LOG_LEVEL : debug
4853 APACHE_BACKEND_HOST : php
49- APACHE_SERVER_ROOT : /var/www/html/web
54+ APACHE_VHOST_PRESET : php
55+ APACHE_DOCUMENT_ROOT : /var/www/html/web
5056 volumes :
5157 - ./:/var/www/html
58+ # For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
59+ # - ./:/var/www/html:cached # User-guided caching
60+ # - docker-sync:/var/www/html # Docker-sync
5261 labels :
5362 - ' traefik.backend=apache'
5463 - ' traefik.port=80'
Original file line number Diff line number Diff line change 11# ----------------------------------------------------------------------------
22# ## PROJECT SETTINGS
3+
34PROJECT_NAME = dockerizer
45PROJECT_BASE_URL = dockerizer.localhost
56# If your project resides in a subdir you can specify it on PROJECT_BASE_PATH
@@ -15,23 +16,33 @@ DB_DRIVER=mysql
1516# ----------------------------------------------------------------------------
1617# ## --- MARIADB ----
1718
18- MARIADB_TAG = 10.1-3.2.1
19- # MARIADB_TAG=10.3-3.2.1
20- # MARIADB_TAG=10.2-3.2.1
19+ MARIADB_TAG = 10.1-3.3.5
20+ # MARIADB_TAG=10.3-3.3.5
21+ # MARIADB_TAG=10.2-3.3.5
2122
2223# ----------------------------------------------------------------------------
2324# ## --- PHP ----
2425
25- PHP_TAG = 7.2-dev-4.5.1
26- # PHP_TAG=7.1-dev-4.5.1
27- # PHP_TAG=7.0-dev-4.5.1
28- # PHP_TAG=5.6-dev-4.5.1
29- # PHP_TAG=5.3-dev-4.5.1
26+ # Linux (uid 1000 gid 1000)
27+
28+ PHP_TAG = 7.1-dev-4.7.5
29+ # PHP_TAG=7.2-dev-4.7.5
30+ # PHP_TAG=7.0-dev-4.7.5
31+ # PHP_TAG=5.6-dev-4.7.5
32+ # PHP_TAG=5.3-dev-4.7.5
33+
34+ # macOS (uid 501 gid 20)
35+
36+ # PHP_TAG=7.1-dev-macos-4.7.5
37+ # PHP_TAG=7.2-dev-macos-4.7.5
38+ # PHP_TAG=7.0-dev-macos-4.7.5
39+ # PHP_TAG=5.6-dev-macos-4.7.5
40+ # PHP_TAG=5.3-dev-macos-4.7.5
3041
3142# ----------------------------------------------------------------------------
3243# ## OTHERS
3344
34- APACHE_TAG = 2.4-3 .0.5
45+ APACHE_TAG = 2.4-4 .0.0
3546
3647# ----------------------------------------------------------------------------
3748# ## --- CUSTOM VARS ----
You can’t perform that action at this time.
0 commit comments