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: