Compare commits
No commits in common. "678987b2497e9fa09e3c243b5955817c6b69d415" and "3035594e97b8af66c062b124ff5ec88566130e1b" have entirely different histories.
678987b249
...
3035594e97
3 changed files with 9 additions and 12 deletions
|
@ -40,11 +40,9 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-dolibarr:${DRONE_BRANCH/\\//-}_latest"
|
cache_from: "glenux/service-dolibarr:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: glenux/service-dolibarr
|
repo: glenux/service-dolibarr
|
||||||
tags:
|
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||||
- "${DRONE_BRANCH/\\//-}_latest"
|
|
||||||
- "${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
|
|
||||||
purge: false
|
purge: false
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
@ -59,7 +57,7 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-dolibarr:${DRONE_BRANCH/\\//-}_latest"
|
cache_from: "glenux/service-dolibarr:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: glenux/service-dolibarr
|
repo: glenux/service-dolibarr
|
||||||
tags: latest
|
tags: latest
|
||||||
purge: false
|
purge: false
|
||||||
|
|
11
Dockerfile
11
Dockerfile
|
@ -1,4 +1,4 @@
|
||||||
FROM php:8.1-apache-bookworm
|
FROM php:8.1-apache-buster
|
||||||
# FROM php:7.4-apache-buster
|
# FROM php:7.4-apache-buster
|
||||||
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
||||||
|
|
||||||
|
@ -57,11 +57,10 @@ WORKDIR /var/www/html
|
||||||
# && mv composer.json.disabled composer.json \
|
# && mv composer.json.disabled composer.json \
|
||||||
# && composer install
|
# && composer install
|
||||||
|
|
||||||
# Fix configuration
|
RUN sed \
|
||||||
RUN sed -i 's|/var/www/html|/var/www/html/htdocs|' \
|
-i 's|/var/www/html|/var/www/html/htdocs|' \
|
||||||
/etc/apache2/sites-enabled/000-default.conf \
|
/etc/apache2/sites-enabled/000-default.conf
|
||||||
&& sed -i 's|^Timeout .*|Timeout 1200|' \
|
|
||||||
/etc/apache2/apache2.conf
|
|
||||||
|
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
file_uploads = On
|
file_uploads = On
|
||||||
upload_max_filesize = 128M
|
upload_max_filesize = 128M
|
||||||
post_max_size = 128M
|
post_max_size = 128M
|
||||||
max_execution_time = 1200
|
max_execution_time = 600
|
||||||
max_input_time = 120
|
max_input_time = 120
|
||||||
|
|
Loading…
Reference in a new issue