From 4f50819f925677041acc937395e675b5e1115374 Mon Sep 17 00:00:00 2001 From: Daniel Legt Date: Mon, 22 Jan 2024 02:12:18 +0200 Subject: [PATCH] Production docker-compose.yml updates --- docker-compose.prod.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index e3e537a..bb00926 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -2,13 +2,16 @@ version: "3.8" services: drive-health: - # Build the current image + # Latest image pull, mention the specific version here please. image: ghcr.io/justkato/drive-health:latest - # Read straight from the .env file, or use the environment path + # Restart in case of crashing + restart: unless-stopped + # Load environment variables from .env file env_file: - .env + # Mount the volume to the local drive volumes: - - ./dev_data:/data + - ./data:/data # Setup application ports ports: - - 8080:8080 \ No newline at end of file + - 5003:8080 \ No newline at end of file