eaglesakuraの技術ブログ

技術的な話題とか、メモとか。

Docker

docker-composeでgoogle/cloud-sdk:emulators(firestore emulator)を利用する

docker-compose記述 version: "3" services: firestore-emulator: image: google/cloud-sdk:329.0.0-emulators ports: - 8004:8004 command: gcloud beta emulators firestore start --host-port "0.0.0.0:8004" これで docker-compose up で起動できる。 ポ…

Dockerで開発環境をポータブルにする

なぜDockerfileに記述するのか pullするだけでセットアップが終わる 手軽に再現できる 複数OSの上で同じ環境を使える WindowsやMacで作業中にLinux環境が必要になる場合がある OSや環境固有の問題なのか、別な問題なのかの切り分けを行いたい 開発環境のバー…