All checks were successful
CI / build (push) Successful in 37s
- Add delete all data button with red danger style and confirmation prompt - Add DeleteUserData repo method that wipes user from all tables in a transaction - Add helper methods deleteAccountPrompt and deleteAccountConfirm - Implement consistency_master, perfect_week, remote_veteran, onsite_master achievements - Add GetDailyXPInRange and SumWorkSecondsByWorkType repo methods - Update Dockerfile to alpine3.23, docker-compose to use env vars for proxy/paths
27 lines
470 B
YAML
27 lines
470 B
YAML
services:
|
|
worktime-bot:
|
|
build:
|
|
context: .
|
|
args:
|
|
HTTP_PROXY: ${HTTP_PROXY}
|
|
HTTPS_PROXY: ${HTTPS_PROXY}
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- BOT_TOKEN=${BOT_TOKEN}
|
|
- HTTP_PROXY=${HTTP_PROXY}
|
|
- HTTPS_PROXY=${HTTPS_PROXY}
|
|
- DB_PATH=${DB_PATH}
|
|
- TZ=${TZ}
|
|
volumes:
|
|
- worktime_data:/data
|
|
|
|
networks:
|
|
default:
|
|
name: proxy_net
|
|
external: true
|
|
|
|
volumes:
|
|
worktime_data:
|
|
driver: local
|