Sign inSign up

foxylion/search-replace-db

By foxylion

Updated almost 8 years ago

Web-Accessible instance of Search-Replace-DB

Image
1

50K+

foxylion/search-replace-db repository overview

Search-Replace-DB in a Docker Container

Docker Stars Docker Pulls

The Search-Replace-DB project in a docker container, accessible via HTTP.

Usage

docker run -p 8000:80 --link mysql \
       foxylion/search-replace-db

You can pass environment variables to the image to prefill database informations :

docker run -p 8000:80 --link mysql \
-e DB_NAME='mydb' \
-e DB_user='myuser' \
-e DB_PASS= 'mypassword' \
 foxylion/search-replace-db

An example within a docker-compose.yml file :

  srdb:
    image: kgaut/docker-search-replace-db
    container_name: "srdb"
    labels:
      - 'traefik.backend=srdb'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:srdb.localhost'
    environment:
      DB_HOST: 'mariadb'
      DB_USER: 'myuser'
      DB_PASS: 'mypassword'
      DB_NAME: 'database'

Full list of environment variables :

  • DB_NAME (default to "")
  • DB_USER (default to "")
  • DB_PASS (default to "")
  • DB_HOST (default to "127.0.0.1")
  • DB_PORT (default to "3306")
  • DB_CHARSET (default to "utf-8")
  • DB_COLLATE (default to "")

Tag summary

Content type

Image

Digest

Size

139.8 MB

Last updated

almost 8 years ago

docker pull foxylion/search-replace-db