From 60d81d5b92d1101e0e844ea7611ca603a42558b3 Mon Sep 17 00:00:00 2001 From: Michael Sitz Date: Thu, 20 Aug 2026 17:09:57 -0400 Subject: [PATCH] Fixed the compose file, it had reverted back to the original --- docker-compose.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 807488d..e19f30d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,22 +1,19 @@ -version: '3.8' - services: offlineu: - image: ghcr.io/skippysteve/offlineu:main - container_name: offlineu-app + build: . + pull_policy: build + container_name: offlineu + network_mode: host ports: - "5000:5000" environment: + - PUID=1000 + - PGID=10 + - TZ=America/New_York - FLASK_ENV=production volumes: # Mount a local directory for course data persistence - - ./courses:/app/courses + - /volume1/files/training:/app/courses # Mount a local directory for user data/progress - - ./data:/app/data - restart: unless-stopped - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:5000/"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 40s \ No newline at end of file + - /volume2/docker/offlineu/data:/app/data + restart: unless-stopped \ No newline at end of file