Switch MAX bridge to PyMax only
This commit is contained in:
+1
-4
@@ -8,11 +8,8 @@ QMAX_JWT_SECRET=change-me-to-a-long-random-secret-at-least-32-characters
|
||||
# Enter this once on the Android login screen to pair the device with your private bridge.
|
||||
QMAX_PAIRING_CODE=change-me-pairing-code
|
||||
|
||||
# Use international format if MAX accepts it in your flow, otherwise the local phone format you use in MAX Web.
|
||||
# Use the phone number linked to the MAX account used by PyMax.
|
||||
QMAX_MAX_PHONE_NUMBER=79000000000
|
||||
|
||||
# Set false temporarily if you attach a visible browser/VNC workflow for CAPTCHA/debug.
|
||||
QMAX_MAX_HEADLESS=true
|
||||
QMAX_CORS_ALLOWED_ORIGINS=
|
||||
|
||||
# Optional Firebase Cloud Messaging. Mount the service account JSON into the API container
|
||||
|
||||
@@ -32,23 +32,6 @@ services:
|
||||
networks:
|
||||
- qmax
|
||||
|
||||
qmax-max-worker:
|
||||
build:
|
||||
context: ../worker
|
||||
dockerfile: Dockerfile
|
||||
container_name: qmax-max-worker
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PORT: 3001
|
||||
MAX_BASE_URL: https://web.max.ru/
|
||||
MAX_USER_DATA_DIR: /data/max-profile
|
||||
MAX_HEADLESS: ${QMAX_MAX_HEADLESS:-true}
|
||||
volumes:
|
||||
- qmax-max-profile:/data
|
||||
- qmax-data:/qmax-data
|
||||
networks:
|
||||
- qmax
|
||||
|
||||
qmax-pymax-worker:
|
||||
build:
|
||||
context: ../pymax-worker
|
||||
@@ -70,7 +53,6 @@ services:
|
||||
|
||||
volumes:
|
||||
qmax-data:
|
||||
qmax-max-profile:
|
||||
qmax-pymax-session:
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user