Update wrapper/docker-compose.yml

This commit is contained in:
frarol96 2025-08-24 16:35:45 +00:00
parent e7beee2462
commit f94da4c6e1

View File

@ -11,7 +11,6 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
# Bot runtime (prefix-free)
DISCORD_TOKEN: ${DISCORD_TOKEN} DISCORD_TOKEN: ${DISCORD_TOKEN}
HOME_GUILD_ID: ${HOME_GUILD_ID} HOME_GUILD_ID: ${HOME_GUILD_ID}
DATA_FILE: ${DATA_FILE:-/data/data.json} DATA_FILE: ${DATA_FILE:-/data/data.json}
@ -29,11 +28,9 @@ services:
PIP_INSTALL_REQUIREMENTS: ${PIP_INSTALL_REQUIREMENTS:-1} PIP_INSTALL_REQUIREMENTS: ${PIP_INSTALL_REQUIREMENTS:-1}
WRAPPER_STOP_TIMEOUT: ${WRAPPER_STOP_TIMEOUT:-25} WRAPPER_STOP_TIMEOUT: ${WRAPPER_STOP_TIMEOUT:-25}
# Playwright cache/browsers # Playwright & locale
WITH_PLAYWRIGHT: ${WITH_PLAYWRIGHT:-1} WITH_PLAYWRIGHT: ${WITH_PLAYWRIGHT:-1}
PLAYWRIGHT_BROWSERS_PATH: ${PLAYWRIGHT_BROWSERS_PATH:-/cache/pw-browsers} PLAYWRIGHT_BROWSERS_PATH: ${PLAYWRIGHT_BROWSERS_PATH:-/cache/pw-browsers}
# Locale
LANG: ${LANG:-C.UTF-8} LANG: ${LANG:-C.UTF-8}
volumes: volumes:
@ -43,7 +40,7 @@ services:
volumes: volumes:
data: data:
external: true external: true
name: ${VOL_DATA:-shaiwatcher_data} name: ${VOL_DATA:-shaiwatcher_shaiwatcher_data} # <-- exact existing name
cache: cache:
external: true external: true
name: ${VOL_CACHE:-shaiwatcher_cache} name: ${VOL_CACHE:-shaiwatcher_shaiwatcher_cache} # <-- exact existing name