|
@@ -5,7 +5,7 @@ services:
|
|
|
build: .
|
|
build: .
|
|
|
image: coordinator:latest
|
|
image: coordinator:latest
|
|
|
container_name: coordinator-sentinel
|
|
container_name: coordinator-sentinel
|
|
|
- command: ["python3", "main_sentinel.py", "--config", "config/config.json"]
|
|
|
|
|
|
|
+ command: ["python3", "main_sentinel.py"]
|
|
|
restart: unless-stopped
|
|
restart: unless-stopped
|
|
|
shm_size: '2gb'
|
|
shm_size: '2gb'
|
|
|
volumes:
|
|
volumes:
|
|
@@ -22,13 +22,13 @@ services:
|
|
|
resources:
|
|
resources:
|
|
|
limits:
|
|
limits:
|
|
|
cpus: '2.0'
|
|
cpus: '2.0'
|
|
|
- memory: 6G
|
|
|
|
|
|
|
+ memory: 2G
|
|
|
|
|
|
|
|
visa-booker:
|
|
visa-booker:
|
|
|
build: .
|
|
build: .
|
|
|
image: coordinator:latest
|
|
image: coordinator:latest
|
|
|
container_name: coordinator-booker
|
|
container_name: coordinator-booker
|
|
|
- command: ["python3", "main_booker.py", "--config", "config/config.json"]
|
|
|
|
|
|
|
+ command: ["python3", "main_booker.py"]
|
|
|
restart: unless-stopped
|
|
restart: unless-stopped
|
|
|
shm_size: '2gb'
|
|
shm_size: '2gb'
|
|
|
volumes:
|
|
volumes:
|
|
@@ -45,7 +45,7 @@ services:
|
|
|
resources:
|
|
resources:
|
|
|
limits:
|
|
limits:
|
|
|
cpus: '2.0'
|
|
cpus: '2.0'
|
|
|
- memory: 4G
|
|
|
|
|
|
|
+ memory: 2G
|
|
|
|
|
|
|
|
visa-sweeper:
|
|
visa-sweeper:
|
|
|
build: .
|
|
build: .
|
|
@@ -65,17 +65,17 @@ services:
|
|
|
cpus: '0.2'
|
|
cpus: '0.2'
|
|
|
memory: 256M
|
|
memory: 256M
|
|
|
|
|
|
|
|
- registration-bot:
|
|
|
|
|
- build: .
|
|
|
|
|
- image: coordinator:latest
|
|
|
|
|
- container_name: tls-bot-worker
|
|
|
|
|
- environment:
|
|
|
|
|
- - CAPSOLVER_KEY=CAP-5441DD341DD3CC2FAEF0BE6FE493EE9A
|
|
|
|
|
- command: ["python3", "-u" ,"tls_registration_bot.py", "-n", "1", "-m", "50", "-p", "isp_all", "-u", "https://visas-fr.tlscontact.com/en-us/country/gb/vac/gbLON2fr"]
|
|
|
|
|
- volumes:
|
|
|
|
|
- - ./config:/app/config
|
|
|
|
|
- - ./data:/app/data
|
|
|
|
|
- deploy:
|
|
|
|
|
- resources:
|
|
|
|
|
- limits:
|
|
|
|
|
- memory: 2G
|
|
|
|
|
|
|
+ # registration-bot:
|
|
|
|
|
+ # build: .
|
|
|
|
|
+ # image: coordinator:latest
|
|
|
|
|
+ # container_name: tls-bot-worker
|
|
|
|
|
+ # environment:
|
|
|
|
|
+ # - CAPSOLVER_KEY=CAP-5441DD341DD3CC2FAEF0BE6FE493EE9A
|
|
|
|
|
+ # command: ["python3", "-u" ,"tls_registration_bot.py", "-n", "1", "-m", "50", "-p", "isp_all", "-u", "https://visas-fr.tlscontact.com/en-us/country/gb/vac/gbLON2fr"]
|
|
|
|
|
+ # volumes:
|
|
|
|
|
+ # - ./config:/app/config
|
|
|
|
|
+ # - ./data:/app/data
|
|
|
|
|
+ # deploy:
|
|
|
|
|
+ # resources:
|
|
|
|
|
+ # limits:
|
|
|
|
|
+ # memory: 2G
|