wger-server

wger-server

Docker 应用程序 from rorar's Repository

概述

wger (Workout Manager) is a free, open-source web application for managing workouts, nutrition plans, and training logs. This container is the backend application server for the multi-container WGER stack.

要求

Requires wger-db, wger-redis, and wger-nginx containers on the same Docker network (wger_network). Optional: wger-celery-worker, wger-celery-beat, wger-celery-flower.

运行时参数

网络用户界面
http://[IP]:[PORT:8555]
网络
wger_network
外壳
sh
特权
false
额外参数
--health-cmd="wget --no-verbose --tries=1 --spider http://localhost:8000" --health-interval=10s --health-retries=5 --health-start-period=300s --health-timeout=5s

模板配置

PORTPorttcp

WebUI port for the wger server (container port 8000)

目标
8000
默认值
8555
价值
8555
DJANGO_DB_ENGINEVariable

Database engine, e.g. django.db.backends.postgresql

默认值
django.db.backends.postgresql
价值
django.db.backends.postgresql
DJANGO_DB_DATABASEVariable

PostgreSQL database name

默认值
wger
价值
wger
DJANGO_DB_USERVariable

Database username

默认值
wger
价值
wger
DJANGO_DB_PASSWORDVariable

Database password

价值
wger
DJANGO_DB_HOSTVariable

Database container hostname (must match your wger-db container name)

默认值
wger-db
价值
wger-db
DJANGO_DB_PORTVariable

PostgreSQL database port

默认值
5432
价值
5432
TIME_ZONEVariable

Server timezone. See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

默认值
Europe/Berlin
价值
Europe/Berlin
SITE_URLVariable

Base URL of the application, e.g. http://your-server-ip:8555

默认值
http://localhost
价值
http://localhost
DJANGO_STATIC_ROOTPathrw

Path for static files

目标
/home/wger/static
默认值
/mnt/user/appdata/wger/static/
价值
/mnt/user/appdata/wger/static/
DJANGO_MEDIA_ROOTPathrw

Path for media files (uploaded images, etc.)

目标
/home/wger/media
默认值
/mnt/user/appdata/wger/media/
价值
/mnt/user/appdata/wger/media/
SECRET_KEYVariable

Django SECRET_KEY – 50 characters, generate with a secure random generator. CHANGE THIS!

价值
wger-docker-supersecret-key-1234567890!@#$%^&*(-_)
SIGNING_KEYVariable

JWT signing key – must differ from SECRET_KEY. CHANGE THIS!

价值
wger-docker-secret-jwtkey-1234567890!@#$%^&*(-_=+)
ALLOW_REGISTRATIONVariable

Allow new user registration (True/False)

默认值
True
价值
True
ALLOW_GUEST_USERSVariable

Allow guest access (True/False)

默认值
True
价值
True
ALLOW_UPLOAD_VIDEOSVariable

Allow video uploads (True/False)

默认值
True
价值
True
MIN_ACCOUNT_AGE_TO_TRUSTVariable

Minimum account age in days before user is trusted

默认值
21
价值
21
SYNC_EXERCISES_CELERYVariable

Sync exercises in background via Celery

默认值
True
价值
True
SYNC_EXERCISE_IMAGES_CELERYVariable

Sync exercise images in background

默认值
True
价值
True
SYNC_EXERCISE_VIDEOS_CELERYVariable

Sync exercise videos in background

默认值
True
价值
True
SYNC_INGREDIENTS_CELERYVariable

Sync ingredients in background

默认值
True
价值
True
DOWNLOAD_INGREDIENTS_FROMVariable

Source for ingredient data, e.g. 'WGER'

默认值
WGER
价值
WGER
USE_CELERYVariable

Enable Celery for background tasks (True/False)

默认值
True
价值
True
PUIDVariable

User ID

默认值
99
价值
99
PGIDVariable

Group ID

默认值
100
价值
100
UMASKVariable

File creation mask

默认值
022
价值
022
DJANGO_DEBUGVariable

Django debug mode (required for wger to run correctly)

默认值
True
价值
True
CELERY_BROKERVariable

Celery broker URL (Redis)

默认值
redis://wger-redis:6379/2
价值
redis://wger-redis:6379/2
CELERY_BACKENDVariable

Celery result backend URL (Redis)

默认值
redis://wger-redis:6379/2
价值
redis://wger-redis:6379/2
CELERY_FLOWER_PASSWORDVariable

Password for Celery Flower monitoring UI

默认值
adminadmin
价值
adminadmin
DJANGO_CACHE_BACKENDVariable

Cache backend class

默认值
django_redis.cache.RedisCache
价值
django_redis.cache.RedisCache
DJANGO_CACHE_LOCATIONVariable

Django cache URL (Redis)

默认值
redis://wger-redis:6379/1
价值
redis://wger-redis:6379/1
DJANGO_CACHE_TIMEOUTVariable

Cache timeout in seconds (15 days)

默认值
1296000
价值
1296000
DJANGO_CACHE_CLIENT_CLASSVariable

Redis cache client class

默认值
django_redis.client.DefaultClient
价值
django_redis.client.DefaultClient
ENABLE_EMAILVariable

Enable SMTP email notifications (True/False)

默认值
False
价值
False
EMAIL_HOSTVariable

SMTP server address

EMAIL_PORTVariable

SMTP server port

EMAIL_HOST_USERVariable

SMTP server username

EMAIL_HOST_PASSWORDVariable

SMTP server password

EMAIL_USE_TLSVariable

Enable TLS for email (True/False)

默认值
False
价值
True
EMAIL_USE_SSLVariable

Enable SSL for email (True/False)

默认值
False
价值
False
FROM_EMAILVariable

Sender address for system emails

默认值
wger Workout Manager
价值
wger Workout Manager wger@example.com

详细信息

存储库
wger/server:latest
最后更新2026-05-31
初见2026-05-27

在Unraid 上运行 wger-server 。

wger-server 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。