Skip to content

Commit 40b5ff8

Browse files
author
Markus Blaschke
committed
Merge branch 'develop'
2 parents 038a81c + abdb20f commit 40b5ff8

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ typo3:
44
- solr
55
- mysql
66
volumes:
7-
- ./htdocs:/var/www/html
7+
- ./:/var/www/
88
env_file:
99
- docker-env.yml
1010

docker/httpd/conf/vhost.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ SetEnv TYPO3_CONTEXT <TYPO3_CONTEXT>
1313

1414
DirectoryIndex index.html index.htm index.php
1515

16-
DocumentRoot "/var/www/html/"
17-
<Directory "/var/www/html/">
16+
DocumentRoot "/var/www/htdocs/"
17+
<Directory "/var/www/htdocs/">
1818
Options Indexes FollowSymLinks
1919
AllowOverride All
2020
Require all granted

docker/nginx/conf/vhost.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ server {
99
access_log /dev/stdout;
1010
error_log /dev/stdout info;
1111

12-
root /var/www/html/;
12+
root /var/www/htdocs/;
1313
index index.php;
1414

1515
client_max_body_size 50m;

docker/typo3/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,17 @@ RUN apt-get install -y \
2525
graphicsmagick \
2626
zip \
2727
unzip \
28-
curl
28+
curl \
29+
mysql-client
2930

3031
RUN curl -sS https://getcomposer.org/installer | php
3132
RUN mv composer.phar /usr/local/bin/composer
3233

3334
ADD entrypoint.sh /entrypoint.sh
3435
ADD ./htdocs /var/www/html
3536

36-
WORKDIR /var/www/html
37+
VOLUME /var/www/
38+
WORKDIR /var/www/htdocs/
3739

3840
ENTRYPOINT ["/entrypoint.sh"]
3941
CMD ["echo", "hello"]

0 commit comments

Comments
 (0)