Giter VIP home page Giter VIP logo

docker-wordmove's Introduction

Docker image to run Wordmove.

What's inside

  • openssh-server
  • curl
  • rsync
  • mysql-client
  • php
  • wordmove
  • wp-cli
  • lftp
  • ruby

Additionally we install build-essential and ruby-dev in order to be able to compile gems inside the image, thus enabling it to be used as CI image in certain scenarios.

What's up with this fork?

This is an updated version of weilaka/docker-wordmove with the following updates.

  • update php version to 8.2
  • change workpath from /html to /var/www/html
  • install ed25519 and bcrypt_pbkdf for compatability with ed25519 ssh keys

How to use

To run this image

docker run -it --rm -v ~/.ssh:/root/.ssh:ro drdogbot7/wordmove

This starts a shell, with wordmove available on the command-line.

SSH permission caveat

If you are on a Winodws or Linux host, then you could get permission errors while trying to use your ssh keys. To work around this problem we've a trick for you:

docker run -it --rm -v ~/.ssh:/tmp/.ssh:ro drdogbot7/wordmove

Mounting .ssh/ inside /tmp/ will tell the image to automatically copy it over in /root/ and to fix permissions.

ENV

A WORDMOVE_WORKDIR environment variable is exported inside the container; since this is the container's WORKDIR path, you could use <%= ENV['WORDMOVE_WORKDIR'] %> inside a movefile.yml in order to solidly know the pwd.

For example running

docker run --rm -v ~/.ssh:/root/.ssh:ro -v ~/dev/wp-site/:/html drdogbot7/wordmove wordmove pull -d

you could configure movefile.yml like

local:
  wordpress_path: "<%= ENV['WORDMOVE_WORKDIR'] %>"
  # [...]

To run this image in a full Docker-based WordPress environment

See Wordpress development made easy using Docker

This tutorial explains how to set up a WordPress environment, using Docker Compose, with the following four interconnected containers:

  • database
  • wordpress
  • phpmyadmin
  • wordmove

Don't forget to replace image: mfuezesi/wordmove with image: drdogbot7/wordmove to get the latest version of Wordmove.

Credits ๐Ÿ™๐Ÿป

Based on nilsglow/docker-wordmove based on welaika/docker-wordmove based on mfuezesi/docker-wordmove.

Maintainers

@drdogbot7 ๐Ÿ˜ฝ

docker-wordmove's People

Contributors

alessandro-fazzi avatar drdogbot7 avatar mfuezesi avatar simonbland avatar rbndelrio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.