Sign inSign up

airdock/phraseanet

By airdock

Updated about 6 years ago

Image
0

1.5K

airdock/phraseanet repository overview

dockeri.co

Maintenance Ask Us Anything ! Open Source Love svg1

GitHub issues GitHub issues-closed Travis Ci Status MIT license

Phraseanet

GitHub release (latest SemVer)

docker-phraseanet

A repository to use Phraseanet with Docker

Prerequisites

Getting started

Just clone the repo with the usual : git clone https://github.com/airdock-io/docker-phraseanet.git

  • Enter the repo
  • Type make launch
  • If you want to see logs make logs
  • If you want to stop the project make stop
  • If you want to kill the project and remove volumes and all make kill

Once 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:

ServicePortUrl
Phrasea (nginx + php-fpm)80http://localhost:80
Database MySQL + PhpMyAdmin9003http://localhost:9003
Elastic + ElasticHQ GUI9010http://localhost:9010
Elastic + DejaVu GUI9005http://localhost:9005
SMTP Mock8025http://localhost:8025

User Account

To Login you will need credentials, firsts one availables at launch are:

login: [email protected]
password: Administrator1

Elastic

Elasticsearch is in version 2.1, 2.2, 2.3 or 2.4 (mandatory), this version is not supported by Elastic anymore.

Database (MySQL)

Phraseanet comes bundled with two databses: phrasea and phrasea_data. You can find schemas imported in .docker/mysql/{db_name}.sql

Environment variables

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.

VarDefault Value
WAITFORIT_TIMEOUT120
MYSQL_HOSTmysql
ELASTIC_HOSTelastic
MYSQL_USERroot
MYSQL_PWDphrasea
MYSQL_DB_NAMEphrasea
SMTP_HOSTsmtp
SMTP_USERnull
SMTP_PWDnull

WAITFORIT_TIMEOUT is the value passed to wait-for-it.sh, for more information see wait-for-it

Docker image as standalone

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 :)

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

about 6 years ago

docker pull airdock/phraseanet