- Changed the daily free match limit to a lifetime limit, aligning with backend configurations. - Updated the match price display to include original pricing for better user clarity. - Refactored match quota handling to sync with the server, ensuring accurate match counts and purchase statuses. - Enhanced UI messages to reflect changes in match availability and pricing. - Removed deprecated logic related to daily match counts, streamlining the matching process.
24 lines
565 B
YAML
24 lines
565 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: ..
|
|
dockerfile: deploy/Dockerfile
|
|
image: soul-api:latest
|
|
container_name: soul-api
|
|
restart: unless-stopped
|
|
env_file:
|
|
- ./app.env
|
|
ports:
|
|
- "${APP_PORT:-8080}:${PORT:-8080}"
|
|
volumes:
|
|
- "${HOST_UPLOAD_DIR:-./data/uploads}:/app/uploads"
|
|
- "${HOST_LOG_DIR:-./data/log}:/app/log"
|
|
healthcheck:
|
|
test: ["CMD", "sh", "-lc", "wget -qO- http://127.0.0.1:${PORT:-8080}/health"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 20s
|