Commit 6c87b3b1 authored by Alexis DUCERF's avatar Alexis DUCERF
Browse files

Merge branch 'docker' of labs.maarch.org:maarch/MaarchCourrier into docker

parents a5bee3e9 7a8c8ccf
# Docker
## Install
First of all, you have to install [docker](https://www.docker.com/), then you have to go into the docker's directory :
```
$ cd ./docker
```
To install the container you just need to make :
```
$ docker-compose up
```
You'll see three differents containers for Nginx, PHP-FPM and PostgreSQL.
## Configuration with Maarch
During the installation you'll have to configure PostgreSQL w/ maarch, to achieve it, you need to find the IP of your PSQL container by doing :
```
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
```
# Docker
## Install
First of all, you have to install [docker](https://www.docker.com/), then you have to go into the docker's directory :
```
$ cd ./docker
```
To install the container you just need to make :
```
$ docker-compose up
```
You'll see three differents containers for Apache, PHP-FPM and PostgreSQL.
## Configuration with Maarch
During the installation you'll have to configure PostgreSQL w/ maarch, to achieve it, you need to find the IP of your PSQL container by doing :
```
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment