mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Docker build instruction in README, circle-ci can build and push the two images
This commit is contained in:
20
README.md
20
README.md
@@ -9,7 +9,7 @@ Phraseanet 4.1 - Digital Asset Management application
|
||||
- RestFull APIS
|
||||
- Elasticsearch search engine
|
||||
- Multiple resolution assets generation
|
||||
|
||||
|
||||
# Documentation :
|
||||
|
||||
https://docs.phraseanet.com/
|
||||
@@ -32,7 +32,7 @@ https://www.phraseanet.com/download/
|
||||
|
||||
For development purpose Phraseanet is shipped with ready to use development environments using vagrant.
|
||||
|
||||
- git clone
|
||||
- git clone
|
||||
- vagrant up
|
||||
|
||||
|
||||
@@ -43,4 +43,20 @@ For development with Phraseanet API see https://docs.phraseanet.com/4.0/en/Devel
|
||||
Phraseanet is licensed under GPL-v3 license.
|
||||
|
||||
|
||||
# Docker build
|
||||
|
||||
The docker distribution come with 2 differents containers :
|
||||
* an nginx that act as the front http server.
|
||||
* the php-fpm who serves the php files through nginx.
|
||||
|
||||
## How to build
|
||||
|
||||
The two images can be built respectively with these two commands :
|
||||
|
||||
# nginx server
|
||||
docker build --target phraseanet-nginx -t phraseanet-nginx .
|
||||
|
||||
# php-fpm application
|
||||
docker build --target phraseanet -t phraseanet .
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user