From d4753da136a6ef35760e1c32d058fc0f1e1e106c Mon Sep 17 00:00:00 2001 From: ntki72 Date: Fri, 3 Jan 2025 23:27:48 +0900 Subject: [PATCH] =?UTF-8?q?docker-compose.yml=E3=81=AB.env=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=97?= =?UTF-8?q?=E3=80=81=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0=E3=81=AE=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E3=82=92=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4e55835..4be1e91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,7 @@ services: app: + env_file: + - .env build: context: . dockerfile: Dockerfile.production @@ -9,11 +11,7 @@ services: - db environment: NODE_ENV: production - DB_NAME: ${DB_NAME} - DB_USER: ${DB_USER} - DB_PASS: ${DB_PASS} DB_HOST: db - TZ: Asia/Tokyo volumes: - ./public/thumbnails:/app/public/thumbnails - ./logs/app:/app/logs