Compare commits

...

6 Commits

Author SHA1 Message Date
David Bomba
a184cf2844 Merge pull request #213 from turbo124/master
Add Git / link storage
2020-11-28 07:26:12 +11:00
David Bomba
94e8be57e5 Merge branch 'master' of https://github.com/turbo124/dockerfiles 2020-11-28 07:25:07 +11:00
David Bomba
385a434833 Add git to container to allow auto-updating from container 2020-11-28 07:24:59 +11:00
David Bomba
9ddeda4c32 storage link 2020-11-25 20:33:23 +11:00
David Bomba
805e526fc9 Update docker-compose.yml 2020-11-11 10:25:05 +11:00
David Bomba
cdc35aff2f Update Dockerfile_v5 2020-11-11 10:08:21 +11:00
2 changed files with 8 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ RUN set -eux; \
apk add --no-cache \
curl \
mysql-client \
git \
libarchive-tools; \
mkdir -p /var/www/app
@@ -46,6 +47,7 @@ RUN set -eux; \
apk add --no-cache \
nodejs \
npm \
mysql-client \
freetype-dev \
gmp-dev \
libjpeg-turbo-dev \
@@ -117,5 +119,7 @@ RUN composer install --no-dev --no-suggest --no-progress --quiet
ENV APP_ENV production
ENV LOG errorlog
RUN php artisan storage:link
ENTRYPOINT ["docker-entrypoint"]
CMD ["php-fpm"]

View File

@@ -37,6 +37,9 @@ services:
- APP_KEY=<INSERT THE GENERATED APPLICATION KEY HERE>
- MULTI_DB_ENABLED=false
- DB_HOST1=db
- DB_USERNAME1=ninja
- DB_PASSWORD1=ninja
- DB_DATABASE1=ninja
volumes:
# Configure your mounted directories, make sure the folder 'public' and 'storage'
# exist, before mounting them
@@ -93,4 +96,4 @@ volumes:
# logo:
networks:
invoiceninja:
invoiceninja: