From e4b9e6d18b69403452bfdd2d4922e0320d2b786c Mon Sep 17 00:00:00 2001 From: ntki72 Date: Fri, 3 Jan 2025 22:32:07 +0900 Subject: [PATCH] =?UTF-8?q?docker-compose=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=82=92=E6=9B=B4=E6=96=B0=E3=81=97=E3=80=81db=E3=82=B5?= =?UTF-8?q?=E3=83=BC=E3=83=93=E3=82=B9=E3=81=AE=E5=86=8D=E8=B5=B7=E5=8B=95?= =?UTF-8?q?=E3=83=9D=E3=83=AA=E3=82=B7=E3=83=BC=E3=82=92=E3=80=8Calways?= =?UTF-8?q?=E3=80=8D=E3=81=AB=E5=A4=89=E6=9B=B4=E3=80=82=E9=96=8B=E7=99=BA?= =?UTF-8?q?=E7=92=B0=E5=A2=83=E3=81=AE=E5=86=8D=E8=B5=B7=E5=8B=95=E3=83=9D?= =?UTF-8?q?=E3=83=AA=E3=82=B7=E3=83=BC=E3=82=92=E3=80=8Cno=E3=80=8D?= =?UTF-8?q?=E3=81=AB=E8=A8=AD=E5=AE=9A=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.override.yml | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 4ad4b21..3dabd2a 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -9,9 +9,11 @@ services: - "3000:3000" environment: NODE_ENV: development + restart: no db: volumes: - db-store:/var/lib/mysql + restart: no volumes: db-store: \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 662f206..eddee5f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: volumes: - ./public/thumbnails:/app/public/thumbnails - ./logs/app:/app/logs + restart: always db: image: mysql:8.0 volumes: @@ -31,6 +32,7 @@ services: TZ: ${TZ} ports: - ${DB_PORT}:3306 + restart: always volumes: db-store-prodcution: