Docker improvements and decode loading state
- Fix .dockerignore to exclude *.img.xz files (was 2.3GB context) - Remove deprecated 'version' attribute from docker-compose.yml - Increase container memory limits to 2GB/1GB (prevent OOM on DCT) - Add loading spinner to decode button during form submission 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,10 @@ tests/
|
|||||||
# Pi-specific
|
# Pi-specific
|
||||||
rpi/
|
rpi/
|
||||||
*.img
|
*.img
|
||||||
|
*.img.xz
|
||||||
*.img.zst
|
*.img.zst
|
||||||
*.img.zst.zip
|
*.img.zst.zip
|
||||||
|
pishrink.sh
|
||||||
|
|
||||||
# Docs
|
# Docs
|
||||||
*.md
|
*.md
|
||||||
@@ -37,3 +39,15 @@ docs/
|
|||||||
*.log
|
*.log
|
||||||
*.tmp
|
*.tmp
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Dev scripts and old files
|
||||||
|
scripts/
|
||||||
|
old_files/
|
||||||
|
*_old
|
||||||
|
*_old.*
|
||||||
|
*.bak
|
||||||
|
*.orig
|
||||||
|
|
||||||
|
# Temp files
|
||||||
|
frontends/web/temp_files/
|
||||||
|
*.db
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
# Shared environment variables
|
# Shared environment variables
|
||||||
x-common-env: &common-env
|
x-common-env: &common-env
|
||||||
STEGASOO_CHANNEL_KEY: ${STEGASOO_CHANNEL_KEY:-}
|
STEGASOO_CHANNEL_KEY: ${STEGASOO_CHANNEL_KEY:-}
|
||||||
@@ -30,9 +28,9 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 768M
|
memory: 2048M
|
||||||
reservations:
|
reservations:
|
||||||
memory: 384M
|
memory: 1024M
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# REST API (FastAPI)
|
# REST API (FastAPI)
|
||||||
@@ -50,9 +48,9 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 768M
|
memory: 2048M
|
||||||
reservations:
|
reservations:
|
||||||
memory: 384M
|
memory: 1024M
|
||||||
|
|
||||||
# Named volumes for persistent data
|
# Named volumes for persistent data
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -518,5 +518,8 @@ advancedOptionsDec?.addEventListener('show.bs.collapse', () => {
|
|||||||
advancedOptionsDec?.addEventListener('hide.bs.collapse', () => {
|
advancedOptionsDec?.addEventListener('hide.bs.collapse', () => {
|
||||||
document.getElementById('advancedChevronDec')?.classList.replace('bi-chevron-up', 'bi-chevron-down');
|
document.getElementById('advancedChevronDec')?.classList.replace('bi-chevron-up', 'bi-chevron-down');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Loading state for decode button
|
||||||
|
Stegasoo.initFormLoading('decodeForm', 'decodeBtn', 'Decoding...');
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user