diff --git a/Dockerfile b/Dockerfile index d154b5d..493d2ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,6 @@ LABEL org.opencontainers.image.created="${BUILD_DATE}" \ # Set environment variables ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 \ - DOCKER_ENV=1 \ PORT=8080 # Set working directory diff --git a/docker-compose.yml b/docker-compose.yml index feb7f02..18fb153 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,21 +11,4 @@ services: environment: # Set timezone (optional, defaults to UTC) - TZ=UTC - # Docker environment flag - - DOCKER_ENV=1 restart: unless-stopped - healthcheck: - test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/api/status')"] - interval: 30s - timeout: 3s - retries: 3 - start_period: 10s - # Optional: Limit resources - # deploy: - # resources: - # limits: - # cpus: '1' - # memory: 512M - # reservations: - # cpus: '0.5' - # memory: 256M