From 71f0b1f5ddf17613e1e25e25c0c10b7cde82f6fb Mon Sep 17 00:00:00 2001 From: Dennis Piecha Date: Fri, 11 Jun 2021 18:10:52 +0200 Subject: [PATCH] fixed compose file --- docker-compose.yml | 27 +++++++++++++-------------- tools/its.py | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9ccdde59..9b75081f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,14 @@ -version: "3.8" +version: "3" -vaccipy: - build: . - container_name: vaccipy - restart: always - environment: - - VNC_PASSWORD= - - VNC_PORT=5901 - - WEB_PORT=6901 - ports: - - 5901:5901 - - 6901:6901 - volumes: - - ./vaccipy/kontaktdaten.json:/app/kontaktdaten.json +services: + vaccipy: + build: . + container_name: vaccipy + restart: always + environment: + - VNC_PASSWORD= + - VNC_PORT=5901 + - WEB_PORT=6901 + ports: + - 5901:5901 + - 6901:6901 diff --git a/tools/its.py b/tools/its.py index ad6488af..7a078a53 100644 --- a/tools/its.py +++ b/tools/its.py @@ -276,7 +276,7 @@ def get_chromedriver(self, headless): # Zur Behebung von "DevToolsActivePort file doesn't exist" # chrome_options.add_argument("-no-sandbox"); - chrome_options.add_argument("-disable-dev-shm-usage"); + chrome_options.add_argument("-disable-dev-shm-usage") # Chrome head is only required for the backup booking process. # User-Agent is required for headless, because otherwise the server lets us hang.