Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
6c87b3b1
Commit
6c87b3b1
authored
Mar 10, 2017
by
Alexis DUCERF
Browse files
Merge branch 'docker' of labs.maarch.org:maarch/MaarchCourrier into docker
parents
a5bee3e9
7a8c8ccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/README.md
View file @
6c87b3b1
# 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
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment