Minimal image for webfunny_monitor on alpine.
1.5K
Minimal image for webfunny_monitor on alpine.
# Start a MySQL DB using docker or manual
docker run -itd --name webfunnydb \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=root \
-e MYSQL_USER=webfunny \
-e MYSQL_PASSWORD=123456 \
-e MYSQL_DATABASE=webfunny-db \
-v /data/webfunny-db:/var/lib/mysql \
mysql:5.7
# Start webfunny_monitor using docker link
docker run -itd --name webfunny \
-p 8010-8011:8010-8011 \
--link webfunnydb \
-e DB_HOST=webfunnydb \
-e DB_PORT=3306 \
-e DB_NAME=webfunny-db \
-e DB_USER=webfunny \
-e DB_PASS=123456 \
zhangsean/webfunny_monitor
# Start webfunny_monitor using outer db
docker run -itd --name webfunny \
-p 8010-8011:8010-8011 \
-e DB_HOST=10.0.0.1 \
-e DB_PORT=3306 \
-e DB_NAME=webfunny-db \
-e DB_USER=webfunny \
-e DB_PASS=123456 \
zhangsean/webfunny_monitor
# See the console log for quick start
docker logs -f webfunny
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| DB_HOST | String | * | DB hostname or IP | |
| DB_PORT | Int | 3306 | DB port | |
| DB_NAME | String | webfunny-db | Database name | |
| DB_USER | String | * | DB username | |
| DB_PASS | String | * | DB password |
Content type
Image
Digest
Size
97.1 MB
Last updated
almost 5 years ago
docker pull zhangsean/webfunny_monitor