12ffae3d53
gates / gates (push) Successful in 2m44s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: r762
|
|
services:
|
|
wger:
|
|
image: wger/server:2.7
|
|
container_name: r762-wger
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
- SECRET_KEY=${SECRET_KEY}
|
|
- CSRF_TRUSTED_ORIGINS=http://127.0.0.1:18000
|
|
- DJANGO_PERFORM_MIGRATIONS=True
|
|
- ALLOW_REGISTRATION=False
|
|
- ALLOW_GUEST_USERS=False
|
|
- ENABLE_EMAIL=False
|
|
- DJANGO_DB_ENGINE=django.db.backends.sqlite3
|
|
- DJANGO_DB_DATABASE=/home/wger/db/database.sqlite
|
|
- DJANGO_DB_USER=wger
|
|
- DJANGO_DB_PASSWORD=wger
|
|
- DJANGO_DB_HOST=localhost
|
|
- DJANGO_DB_PORT=5432
|
|
- SITE_URL=http://127.0.0.1:18000
|
|
- DJANGO_DEBUG=False
|
|
- WGER_USE_GUNICORN=${USE_GUNICORN}
|
|
- WEB_CONCURRENCY=${WORKERS}
|
|
volumes:
|
|
- r762_data:/home/wger/db
|
|
- r762_media:/home/wger/media
|
|
- r762_static:/home/wger/static
|
|
ports: ["127.0.0.1:18000:8000"]
|
|
deploy: {resources: {limits: {memory: 384M}}}
|
|
files:
|
|
image: nginx:1.30.5-alpine
|
|
container_name: r762-files
|
|
volumes:
|
|
- r762_static:/usr/share/nginx/html/static:ro
|
|
- r762_media:/usr/share/nginx/html/media:ro
|
|
ports: ["127.0.0.1:18080:80"]
|
|
deploy: {resources: {limits: {memory: 32M}}}
|
|
volumes:
|
|
r762_data:
|
|
r762_media:
|
|
r762_static:
|