yuiseki / crisis-news-map-next

🗺 Source code of https://crisis.yuiseki.net/ . Web service that collects disaster-related news articles and displays them on a map.
https://crisis.yuiseki.net/
Do What The F*ck You Want To Public License
19 stars 3 forks source link

add docker-compose.yml #20

Closed zonoise closed 3 years ago

zonoise commented 3 years ago

概要

git clone した後 docker-compose uplocalhost:3000にアプリが立ち上がるように書きました。

env

.envに書かれている環境変数もdocker-compose.ymlの方で定義してます。

mongo-express

不要であれば消します。

使用したDocker

zonoise@zonoisenoMacBook-Air crisis-news-map-next % docker version
Client:
 Cloud integration: 1.0.17
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.16.4
 Git commit:        f0df350
 Built:             Wed Jun  2 11:56:23 2021
 OS/Arch:           darwin/arm64
 Context:           desktop-linux
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:55:36 2021
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
zonoise commented 3 years ago

merge ありがとうございます。:pray: