Sign inSign up

wwtg99/docker-predict-height

By wwtg99

Updated over 8 years ago

Docker images for predict height service.

Image
1

1.2K

wwtg99/docker-predict-height repository overview

docker-image-filter

Description

Docker image for height_predictor server and predict_height tool. It is quickly to build a predict height demo service.

Usage

Run image

docker run -d --name predict-height -p 8080:80  wwtg99/docker-predict-height:latest

Other usages refers to base image docker-nginx-php.

Environment

Config service for height_predictor server (see Laravel). No need to change for most case.

  • CACHE_DRIVER
  • SESSION_DRIVER
  • REDIS_HOST
  • REDIS_PWD
  • REDIS_PORT

Set timezone: TZ

docker run -d --name predict-height -p 8080:80 -e "TZ=Asia/Shanghai"  wwtg99/docker-predict-height:latest

Set server domain for default config: DOMAIN

docker run -d --name predict-height -p 8080:80 -e "DOMAIN=test.com"  wwtg99/docker-predict-height:latest

Note, it is only useful for auto generated nginx config.

Scripts

Support custom script, please see base image docker-nginx-php.

Author

wwtg99

Tag summary

Content type

Image

Digest

Size

809.3 MB

Last updated

over 8 years ago

docker pull wwtg99/docker-predict-height