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:
|
services:
|
||||||
offlineu:
|
offlineu:
|
||||||
image: ghcr.io/skippysteve/offlineu:main
|
build: .
|
||||||
container_name: offlineu-app
|
pull_policy: build
|
||||||
|
container_name: offlineu
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
environment:
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=10
|
||||||
|
- TZ=America/New_York
|
||||||
- FLASK_ENV=production
|
- FLASK_ENV=production
|
||||||
volumes:
|
volumes:
|
||||||
# Mount a local directory for course data persistence
|
# Mount a local directory for course data persistence
|
||||||
- ./courses:/app/courses
|
- /volume1/files/training:/app/courses
|
||||||
# Mount a local directory for user data/progress
|
# Mount a local directory for user data/progress
|
||||||
- ./data:/app/data
|
- /volume2/docker/offlineu/data:/app/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:5000/"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
Reference in New Issue
Block a user