Fixed the compose file, it had reverted back to the original
This commit is contained in:
+10
-13
@@ -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
|
||||
- /volume2/docker/offlineu/data:/app/data
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user