This commit is contained in:
Florian HENRY 2020-09-01 14:31:54 +02:00
parent f21741074c
commit e9ff43ad44
2 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,7 @@ RUN apt-get update -y \
mv ${PHP_INI_DIR}/php.ini-development ${PHP_INI_DIR}/php.ini
RUN mkdir /var/documents
RUN chown www-data /var/documents
RUN chown www-data:www-data /var/documents
COPY docker-run.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-run.sh

View File

@ -25,6 +25,7 @@ services:
- "8080:80"
networks:
- internal-pod
- external-pod
web:
build:
@ -33,6 +34,7 @@ services:
HOST_USER_ID: $HOST_USER_ID
volumes:
- ../../htdocs:/var/www/html/
- ../../documents:/var/documents
ports:
- "80:80"
- "9000:9000"