From 1662baecda5dd732dfb8f7cb39b0516b74405f4e Mon Sep 17 00:00:00 2001 From: shibafu Date: Fri, 1 Dec 2023 00:54:47 +0900 Subject: [PATCH] organize --- docker/production/{ => config}/default.conf.template | 0 docker/production/{ => config}/php.ini | 0 docker/production/nginx.dockerfile | 2 +- docker/production/php.dockerfile | 2 +- docker/production/{ => sample}/compose.yaml | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename docker/production/{ => config}/default.conf.template (100%) rename docker/production/{ => config}/php.ini (100%) rename docker/production/{ => sample}/compose.yaml (88%) diff --git a/docker/production/default.conf.template b/docker/production/config/default.conf.template similarity index 100% rename from docker/production/default.conf.template rename to docker/production/config/default.conf.template diff --git a/docker/production/php.ini b/docker/production/config/php.ini similarity index 100% rename from docker/production/php.ini rename to docker/production/config/php.ini diff --git a/docker/production/nginx.dockerfile b/docker/production/nginx.dockerfile index 6833f38d..bf228ed1 100644 --- a/docker/production/nginx.dockerfile +++ b/docker/production/nginx.dockerfile @@ -4,6 +4,6 @@ FROM ${TISSUE_FOUNDATION_IMAGE_NAME} as foundation FROM nginx:alpine -COPY ./docker/production/default.conf.template /etc/nginx/templates/ +COPY ./docker/production/config/default.conf.template /etc/nginx/templates/ COPY --from=foundation /app/public /app/public diff --git a/docker/production/php.dockerfile b/docker/production/php.dockerfile index 916a2b65..2d3c4e7f 100644 --- a/docker/production/php.dockerfile +++ b/docker/production/php.dockerfile @@ -11,4 +11,4 @@ RUN apt-get update \ COPY --from=foundation --chown=www-data:www-data /app /app -COPY ./docker/production/php.ini "$PHP_INI_DIR/php.ini" +COPY ./docker/production/config/php.ini "$PHP_INI_DIR/php.ini" diff --git a/docker/production/compose.yaml b/docker/production/sample/compose.yaml similarity index 88% rename from docker/production/compose.yaml rename to docker/production/sample/compose.yaml index df46b9b0..9dac1e76 100644 --- a/docker/production/compose.yaml +++ b/docker/production/sample/compose.yaml @@ -7,6 +7,6 @@ services: environment: PHP_APP_HOST: php ports: - - 4519:80 + - 127.0.0.1:4545:80 depends_on: - php