diff --git a/.github/workflows/test_fastapi_server.yml b/.github/workflows/test_fastapi_server.yml index 6fd04905..368e19e1 100644 --- a/.github/workflows/test_fastapi_server.yml +++ b/.github/workflows/test_fastapi_server.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] runs-on: ${{ matrix.os }} steps: diff --git a/fastapi_server/static/puffin-5246026_1920.jpg b/fastapi_server/static/puffin-5246026_1920.jpg deleted file mode 100644 index 7077c18b..00000000 Binary files a/fastapi_server/static/puffin-5246026_1920.jpg and /dev/null differ diff --git a/fastapi_server/systemd/fastapiserver.service b/fastapi_server/systemd/fastapiserver.service index 14e210fa..c23ef5bf 100644 --- a/fastapi_server/systemd/fastapiserver.service +++ b/fastapi_server/systemd/fastapiserver.service @@ -3,6 +3,7 @@ ExecStart=/usr/bin/docker run --rm --name fastapi_server \ --publish 8000:8000 \ --env STAGE=PROD \ + --env-file ./.env -v ./data:/root/fastapi_server/data \ burnysc2/fastapi_server:latest Restart=always diff --git a/fastapi_server/systemd/fastapiserver_dev.service b/fastapi_server/systemd/fastapiserver_dev.service index 0638ba43..446b7a8b 100644 --- a/fastapi_server/systemd/fastapiserver_dev.service +++ b/fastapi_server/systemd/fastapiserver_dev.service @@ -3,7 +3,6 @@ ExecStart=/usr/bin/docker run --rm --name fastapi_server_dev \ --publish 8001:8000 \ --env STAGE=DEV \ - --env TIMEOUT=600 \ -v ./data:/root/fastapi_server/data \ burnysc2/fastapi_server:latest_dev Restart=always