Production docker-compose.yml updates

This commit is contained in:
Daniel Legt 2024-01-22 02:12:18 +02:00
parent 6117157598
commit 4f50819f92
1 changed files with 7 additions and 4 deletions

View File

@ -2,13 +2,16 @@ version: "3.8"
services: services:
drive-health: drive-health:
# Build the current image # Latest image pull, mention the specific version here please.
image: ghcr.io/justkato/drive-health:latest 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_file:
- .env - .env
# Mount the volume to the local drive
volumes: volumes:
- ./dev_data:/data - ./data:/data
# Setup application ports # Setup application ports
ports: ports:
- 8080:8080 - 5003:8080