Skip to content

Commit

Permalink
update documentation (#21)
Browse files Browse the repository at this point in the history
* update documentation

* update documentation
  • Loading branch information
sirbr authored Feb 7, 2020
1 parent 433f2b5 commit 8af6065
Show file tree
Hide file tree
Showing 9 changed files with 490 additions and 48 deletions.
36 changes: 6 additions & 30 deletions docs/containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,13 @@ logo: docker
order: 8
excerpt: "continuousphp docker containers."
---
continuousphp docker containers include by default the following services:

* [mysql](/databases/mysql/)
* [postgreql](/databases/postgresql/)
* [couchbase](/nosql/couchbase/)
* [apache2](/webserver/)
* [mongodb](/nosql/mongodb/)
* [redis](/nosql/redis/)
All no deprecated continuousphp docker containers support the following tools and applications:

They also include also the following tools and applications:

* [eb](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html) (AWS ElasticBeanstalk)
* [graphviz](http://www.graphviz.org/Documentation.php)
* latex base & recommended
* [nvm](/nodejs/)
* [rbenv](/ruby/)
* [subversion](https://subversion.apache.org/)
* [mailcatcher](/emails/mailcatcher/)

All locales have been installed and configured.

If you need any other packages installed, as sudo, you can easily install them with a Phing target in your *build.xml*:

```xml
<target name="apt-package">
<echo message="Install packages"/>
<exec dir="${project.basedir}"
command="sudo apt-get update ; sudo apt-get -y install <PACKAGE_NAME>"
checkreturn="true"
passthru="true"/>
</target>
```
* aws-cli
* azure-cli
* pip 3.7
* pip 2.7
* terraform

Please feel free to contact us if you think that there is missing something essential in our containers!
51 changes: 51 additions & 0 deletions docs/migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

---
layout: doc-toc
title: "Migration guide - Documentation"
category: "Migration guide"
logo: docker
order: 8
---

## Database services

We are no longer run services inside the same containers using localhost, mysql, mongodb, redis, phantomjs, mailcatcher, graphviz
theses services are now part as side containers and can be activated using environement variables, please report to documentation.

* [mysql](/databases/mysql/)
* [mariadb](/databases/mariadb/)
* [postgrsql](/databases/postgresql/)
* [mongodb](/nosql/mongodb/)
* [redis](/nosql/redis/)
* [apache2](/webserver/)
* phantomjs
* mailcatcher
* graphviz

## Update nodejs version

We are no longer using nvm to change nodejs version, inside you should follow the example below.

```xml
sh $(NVM_DIR)/nvm.sh
sudo su -c "source /etc/profile ; nvm install 10.16.3 -reinstall-packages-from=v5.4.1 ; nvm alias default 10.16.3 ; nvm list"
```
## Missing commands

Commands listed below are missing:

* rsync
* eb
* nvm
* rbenv
* subversion

You could encountered missing command line, like rsync, it was previously on the base image of system, but not present in official base php debian image. When you meet this error install the package using a shell script using command below:

```xml
sudo apt update && sudo apt install rsync
```



Please feel free to contact us if face any problem !
9 changes: 7 additions & 2 deletions docs/nosql/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ excerpt: "Redis support by continuousphp"

## Specification

Our containers run Redis 2.4.9 with PHP extensions:
Redis containers are available for each activity in your build. To enable one of them, simply add the environment
variable `CPHP_SERVICE_REDIS` with the desired Redis version as value to your pipeline configuration. Available versions are :

* redis

* ***5.0.7***

E.g. if you need `Redis 5.0.7` in your Behat tests, go to the Testing Settings (step 2 of the Pipeline) and add the
environment variable `CPHP_SERVICE_REDIS = 5.0.7` to the Behat configuration.

## Connecting to Redis

Expand Down
10 changes: 9 additions & 1 deletion docs/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ logo: php
order: 7
excerpt: "PHP versions supported by continuousphp."
---
continuousphp supports several PHP versions with many PHP extensions precompiled, see specific PHP versions for extensions details.
continuousphp supports several PHP versions with many PHP extensions precompiled. All PHP versions supported by continuousphp runtime containers
are listed below:

* [7.3.8](/php/7.3.8/)
* [7.2.21](/php/7.2.21/)
* [7.1.31](/php/7.1.31/)
* [7.0.33](/php/7.0.33/)



More PHP versions will be supported shortly depending of your needs.

99 changes: 99 additions & 0 deletions docs/php/7.0.33.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
---
layout: doc
title: "7.0.33" - Documentation"
category: "php"
order: 9
excerpt: "PHP-7.0.33 support by continuousphp"
---
[PHP-7.0.33](http://www.php.net) is supported by continuousphp containers.

## Specification

Our containers run PHP-7.0.33 with the following PHP extensions:

### PHP Modules

* apcu
* ast
* bcmath
* bz2
* calendar
* Core
* ctype
* curl
* date
* dba
* dom
* enchant
* exif
* fileinfo
* filter
* ftp
* gd
* gettext
* gmp
* hash
* iconv
* imap
* intl
* json
* ldap
* libxml
* mbstring
* memcached
* mongodb
* mysqli
* mysqlnd
* oci8
* openssl
* pcntl
* pcre
* PDO
* pdo_mysql
* pdo_pgsql
* pdo_sqlite
* pgsql
* Phar
* posix
* pspell
* readline
* recode
* redis
* Reflection
* session
* shmop
* SimpleXML
* soap
* sockets
* sodium
* SPL
* mcrypt
* mhash
* mongo
* mysql
* sqlite3
* standard
* sysvmsg
* sysvsem
* sysvshm
* tidy
* tokenizer
* xdebug
* xml

### Zend Modules

* XDebug

### JPEG Support

* JPEG Support
* libJPEG version 8

### Memory Limit

* memory_limit 1024M

### Sendmail

* sendmail_path /bin/true
99 changes: 99 additions & 0 deletions docs/php/7.1.31.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
---
layout: doc
title: "7.1.31 - Documentation"
category: "php"
order: 9
excerpt: "PHP-7.1.31 support by continuousphp"
---
[PHP-7.1.31](http://www.php.net) is supported by continuousphp containers.

## Specification

Our containers run PHP-7.1.31 with the following PHP extensions:

### PHP Modules

* apcu
* ast
* bcmath
* bz2
* calendar
* Core
* ctype
* curl
* date
* dba
* dom
* enchant
* exif
* fileinfo
* filter
* ftp
* gd
* gettext
* gmp
* hash
* iconv
* imap
* intl
* json
* ldap
* libxml
* mbstring
* memcached
* mongodb
* mysqli
* mysqlnd
* oci8
* openssl
* pcntl
* pcre
* PDO
* pdo_mysql
* pdo_pgsql
* pdo_sqlite
* pgsql
* Phar
* posix
* pspell
* readline
* recode
* redis
* Reflection
* session
* shmop
* SimpleXML
* soap
* sockets
* sodium
* SPL
* mcrypt
* mhash
* mongo
* mysql
* sqlite3
* standard
* sysvmsg
* sysvsem
* sysvshm
* tidy
* tokenizer
* xdebug
* xml

### Zend Modules

* XDebug

### JPEG Support

* JPEG Support
* libJPEG version 8

### Memory Limit

* memory_limit 1024M

### Sendmail

* sendmail_path /bin/true
Loading

0 comments on commit 8af6065

Please sign in to comment.