このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
|
ソフトウェア:docker:docker-compose.yml_dockerfile_作成例:centos7_mysql8.0 [2021/05/26 11:09] humolife [docker/db/Dockerfile] |
ソフトウェア:docker:docker-compose.yml_dockerfile_作成例:centos7_mysql8.0 [2021/10/01 11:40] (現在) humolife [docker/db/Dockerfile] |
||
|---|---|---|---|
| 行 17: | 行 17: | ||
| │ │ └ Dockerfile | │ │ └ Dockerfile | ||
| │ └ docker-compose.yml | │ └ docker-compose.yml | ||
| - | └ production | + | ├ mysql_data |
| + | └ production | ||
| </ | </ | ||
| 行 36: | 行 37: | ||
| ports: | ports: | ||
| - 3306:3306 | - 3306:3306 | ||
| + | volumes: | ||
| + | - ../ | ||
| app: | app: | ||
| container_name: | container_name: | ||
| 行 69: | 行 72: | ||
| yum -y install nodejs | yum -y install nodejs | ||
| - | ENV LANG=ja_JP.UTF-8 | + | ENV LANG ja_JP.UTF-8 |
| + | | ||
| COPY ./ | COPY ./ | ||
| 行 115: | 行 119: | ||
| apt-get -y install locales-all | apt-get -y install locales-all | ||
| - | ENV LANG=ja_JP.UTF-8 | + | ENV LANG ja_JP.UTF-8 |
| + | | ||
| COPY ./ | COPY ./ | ||