Skip to content

Commit 3770d13

Browse files
author
Enrico Simonetti
committed
Merged multiple PR and added supporting changes for deployment
1 parent 3333c91 commit 3770d13

File tree

9 files changed

+29
-20
lines changed

9 files changed

+29
-20
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ This repository will help you deploy a Docker based **development only** full st
1414

1515
## Stacks available
1616
There are few stacks available, with in itself multiple platform combinations. You can read more about the specific stacks on the links below:
17-
* [Sugar 9](stacks/sugar9/README.md) - This stack is also valid for 9.1, 9.2 and 9.3 for local development of Sugar Cloud only versions
17+
* [Sugar 11](stacks/sugar11/README.md) - This stack is valid from version 11 for local developement also of Sugar Cloud only versions
18+
* [Sugar 9](stacks/sugar9/README.md) - This stack is also valid for 9.x and 10.x for local development of Sugar Cloud only versions
1819
* [Sugar 8](stacks/sugar8/README.md)
1920

2021
You will find additional stacks within the [stack directory of the project](stacks).

images/php/73/cron/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN apt-get update \
1414
libldap2-dev \
1515
libfreetype6-dev \
1616
libjpeg62-turbo-dev \
17+
libxml2-dev \
1718
git \
1819
--no-install-recommends
1920

@@ -52,7 +53,8 @@ RUN docker-php-ext-install mysqli \
5253
# problem for xdebug 2.6.1 with php 7.3rc (https://bugs.xdebug.org/view.php?id=1584)
5354
&& pecl install xdebug-2.7.0beta1 \
5455
&& pecl install redis \
55-
&& docker-php-ext-enable redis
56+
&& docker-php-ext-enable redis \
57+
&& docker-php-ext-install soap
5658

5759
# disable by default, it can be enabled locally
5860
#COPY config/php/mods-available/xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini

images/php/74/apache/config/php/mods-available/xdebug.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
zend_extension=xdebug.so
1+
;zend_extension=xdebug.so
22
xdebug.max_nesting_level=500
33
xdebug.profiler_enable=0
44

images/php/74/cron/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN apt-get update \
1414
libldap2-dev \
1515
libfreetype6-dev \
1616
libjpeg62-turbo-dev \
17+
libxml2-dev \
1718
git \
1819
--no-install-recommends
1920

@@ -47,7 +48,8 @@ RUN docker-php-ext-install mysqli \
4748
&& docker-php-ext-install ldap \
4849
&& pecl install xdebug \
4950
&& pecl install redis \
50-
&& docker-php-ext-enable redis
51+
&& docker-php-ext-enable redis \
52+
&& docker-php-ext-install soap
5153

5254
# FIX for PHP 7.4 - Problems on GD with JPEG and FreeType support
5355
RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg
@@ -87,4 +89,4 @@ RUN chmod +x /usr/local/bin/sugarcron
8789
WORKDIR "/var/www/html/sugar"
8890
USER sugar
8991

90-
CMD ["/usr/local/bin/sugarcron"]
92+
CMD ["/usr/local/bin/sugarcron"]

stacks/sugar11/php74.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3'
33
services:
44
web1:
55
container_name: "sugar-web1"
6-
image: sugar_php74_web
6+
image: esimonetti/sugardockerized:php7.4-apache-1.40
77
ports:
88
- "8080:80"
99
extra_hosts:
@@ -18,27 +18,31 @@ services:
1818
- elasticsearch
1919
- redis
2020
- permissions
21+
- testsmtp
2122
links:
2223
- mysql
2324
- elasticsearch
2425
- redis
26+
- testsmtp
2527
cron:
2628
container_name: "sugar-cron"
27-
image: sugar_php74_cron
29+
image: esimonetti/sugardockerized:php7.4-cron-1.40
2830
volumes:
2931
- ../../data/app:/var/www/html
3032
depends_on:
3133
- mysql
3234
- elasticsearch
3335
- redis
3436
- permissions
35-
links:
37+
- testsmtp
38+
links:
3639
- mysql
3740
- elasticsearch
38-
- redis
41+
- redis
42+
- testsmtp
3943
mysql:
4044
container_name: "sugar-mysql"
41-
image: sugar_mysql
45+
image: esimonetti/sugardockerized:mysql5.7-1.06
4246
ports:
4347
- "3306:3306"
4448
volumes:
@@ -74,10 +78,10 @@ services:
7478
- ../../data/redis:/data
7579
permissions:
7680
container_name: "sugar-permissions"
77-
image: sugar_permissions
81+
image: esimonetti/sugardockerized:permissions-1.19
7882
volumes:
7983
- ../../data/app:/var/www/html
8084

8185
volumes:
8286
es-data01:
83-
driver: local
87+
driver: local

stacks/sugar9/php73-mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: '3'
55
services:
66
web1:
77
container_name: "sugar-web1"
8-
image: esimonetti/sugardockerized:php7.3-apache-1.28
8+
image: esimonetti/sugardockerized:php7.3-apache-1.40
99
ports:
1010
- "80:80"
1111
extra_hosts:
@@ -26,7 +26,7 @@ services:
2626
- redis
2727
cron:
2828
container_name: "sugar-cron"
29-
image: esimonetti/sugardockerized:php7.3-cron-1.28
29+
image: esimonetti/sugardockerized:php7.3-cron-1.40
3030
volumes:
3131
- ../../data/app:/var/www/html:delegated
3232
depends_on:

stacks/sugar9/php73.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3'
33
services:
44
web1:
55
container_name: "sugar-web1"
6-
image: esimonetti/sugardockerized:php7.3-apache-1.28
6+
image: esimonetti/sugardockerized:php7.3-apache-1.40
77
ports:
88
- "80:80"
99
extra_hosts:
@@ -26,7 +26,7 @@ services:
2626
- testsmtp
2727
cron:
2828
container_name: "sugar-cron"
29-
image: esimonetti/sugardockerized:php7.3-cron-1.28
29+
image: esimonetti/sugardockerized:php7.3-cron-1.40
3030
volumes:
3131
- ../../data/app:/var/www/html
3232
depends_on:

stacks/sugar9/php73lb.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- web2
1515
web1:
1616
container_name: "sugar-web1"
17-
image: esimonetti/sugardockerized:php7.3-apache-1.28
17+
image: esimonetti/sugardockerized:php7.3-apache-1.40
1818
extra_hosts:
1919
- "docker.local:127.0.0.1"
2020
environment:
@@ -35,7 +35,7 @@ services:
3535
- testsmtp
3636
web2:
3737
container_name: "sugar-web2"
38-
image: esimonetti/sugardockerized:php7.3-apache-1.28
38+
image: esimonetti/sugardockerized:php7.3-apache-1.40
3939
extra_hosts:
4040
- "docker.local:127.0.0.1"
4141
environment:
@@ -56,7 +56,7 @@ services:
5656
- testsmtp
5757
cron:
5858
container_name: "sugar-cron"
59-
image: esimonetti/sugardockerized:php7.3-cron-1.28
59+
image: esimonetti/sugardockerized:php7.3-cron-1.40
6060
volumes:
6161
- ../../data/app:/var/www/html
6262
depends_on:

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.31
1+
1.40

0 commit comments

Comments
 (0)