0
1
Fork 0

Docker fixes

This commit is contained in:
Juan Ferrer 2020-01-22 21:48:37 +01:00
parent e0c2c58089
commit 00e7348b9a
5 changed files with 13 additions and 4 deletions

View File

@ -32,7 +32,8 @@ RUN apt-get update \
php-image-text \ php-image-text \
php-text-captcha \ php-text-captcha \
php-apcu-bc \ php-apcu-bc \
hedera-web hedera-web \
cron
ARG BUILD_ID=unknown ARG BUILD_ID=unknown
RUN apt-get update \ RUN apt-get update \

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.406.94) stable; urgency=low hedera-web (1.406.95) stable; urgency=low
* Initial Release. * Initial Release.

2
debian/control vendored
View File

@ -10,7 +10,7 @@ Vcs-Git: https://git.verdnatura.es/hedera-web
Package: hedera-web Package: hedera-web
Architecture: all Architecture: all
Depends: apache2 | httpd, nodejs, php-cli, php-vn-lib, php-apcu, php-ldap, php-ssh2, php-imap, php-soap, libphp-phpmailer, php-gd, php-pear Depends: apache2 | httpd, nodejs, php-cli, php-vn-lib, php-apcu, php-ldap, php-ssh2, php-imap, php-soap, libphp-phpmailer, php-gd, php-pear
Suggests: php-text-captcha Suggests: php-text-captcha, cron
Section: misc Section: misc
Priority: optional Priority: optional
Description: Verdnatura's web page Description: Verdnatura's web page

View File

@ -20,6 +20,14 @@ services:
- /mnt/storage/share:/mnt/storage/share - /mnt/storage/share:/mnt/storage/share
deploy: deploy:
replicas: 3 replicas: 3
web:
image: registry.verdnatura.es/hedera-web
command: 'cron -f'
configs:
- source: config
target: /etc/hedera-web/config.my.php
deploy:
replicas: 1
configs: configs:
config: config:
external: true external: true

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "1.406.94", "version": "1.406.95",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {