
A repository to use Phraseanet with Docker
Just clone the repo with the usual : git clone https://github.com/airdock-io/docker-phraseanet.git
make launchmake logsmake stopmake killOnce the project is launched, and every service is ready you will have access to phraseanet and various services for the project. Th project follows prerequisites of phraseanet and lauch the following services:
| Service | Port | Url |
|---|---|---|
| Phrasea (nginx + php-fpm) | 80 | http://localhost:80 |
| Database MySQL + PhpMyAdmin | 9003 | http://localhost:9003 |
| Elastic + ElasticHQ GUI | 9010 | http://localhost:9010 |
| Elastic + DejaVu GUI | 9005 | http://localhost:9005 |
| SMTP Mock | 8025 | http://localhost:8025 |
To Login you will need credentials, firsts one availables at launch are:
login: [email protected]
password: Administrator1
Elasticsearch is in version 2.1, 2.2, 2.3 or 2.4 (mandatory), this version is not supported by Elastic anymore.
Phraseanet comes bundled with two databses: phrasea and phrasea_data. You can find schemas imported in .docker/mysql/{db_name}.sql
Some of these vars are defined in the Dockerfile and others are not. Vars used by the entrypoint and command should be defined in dockerfile, vars relative to the phrasea php app are defined (if not in compose environment section) in entrypoint with a default value.
| Var | Default Value |
|---|---|
| WAITFORIT_TIMEOUT | 120 |
| MYSQL_HOST | mysql |
| ELASTIC_HOST | elastic |
| MYSQL_USER | root |
| MYSQL_PWD | phrasea |
| MYSQL_DB_NAME | phrasea |
| SMTP_HOST | smtp |
| SMTP_USER | null |
| SMTP_PWD | null |
WAITFORIT_TIMEOUT is the value passed to wait-for-it.sh, for more information see wait-for-it
The image itself provided does not have any config file in it so you will have to mount them in it. If you wish to integrate your config files to package the app and other services as containers, Dockerfiles are provided in the .docker repositories to do so :)
Content type
Image
Digest
Size
1.2 GB
Last updated
about 6 years ago
docker pull airdock/phraseanet