Git Product home page Git Product logo

mt-dev's Issues

docker-compose 2.x でエラーが発生して起動できない

docker-compose 2.x では以下のような挙動が確認された

  • build と image が両方指定されている場合でも、 docker-compose pull で、 image が pull できないとエラーになる
    • --ignore-pull-failures を指定して回避することも可能
  • コンテナの命名規則が変更になり、 mt_mt_1 ではなく mt-mt-1 になる
    • mt-watcher のコンテナに、 mt_mt_1 がハードコーディングされているため動かなくなる

Visual Studio Code 向けの dev container を用意する

Visual Studio Code の Remote - Containers を使うと、MTを起動したコンテナの中でエディタのサーバーを起動することができる。

https://code.visualstudio.com/docs/remote/containers

メリットとしては、以下のようなことがある。

  • ローカルにperlの環境を作らなくても、開発環境の中で Language Server を起動して利用することができる
  • 複数リポジトリを結合したようなMTの環境でも、リポジトリとしては git のリポジトリを維持したまま、プラグイン以下の .pm から lib/MT 以下の .pm にジャンプするようなことがやりやすくなる

SSIを使用したい

SSIを有効にしたいのですが、その際にはどの部分を変更、記述すれば良いでしょうか?
よろしくお願いいたします。

`docker compose` を利用できる場合には、 `docker-compose` がなくても起動できるようにする

新しいバージョンの docker では、 docker compose というものが使える。
以下のドキュメントによると docker-compose の drop-in replacement ということで完全互換のものを目指しているようであり、かつ現状でも mt-dev の利用方法なら互換があるように見える。
https://docs.docker.com/compose/cli-command-compatibility/

将来的にどうなっていくかは分からないとしても、「 docker compose は利用できるけれども、 docker-compose はインストールしていない」という環境でも動いた方が便利だと思われるのでそのようにしたい。

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.