diff --git a/.dockerignore b/.dockerignore index f26b729..f42f289 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,5 @@ +docker-compose.override.yml + # Python cache / compiled __pycache__ *.pyc diff --git a/docker-compose.override.yml b/docker-compose.override.yml new file mode 100644 index 0000000..c02ccba --- /dev/null +++ b/docker-compose.override.yml @@ -0,0 +1,8 @@ +services: + terra-view: + environment: + - ENVIRONMENT=development + ports: + - "1001:8001" + volumes: + - ./data-dev:/app/data \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 3baee5a..3a8964c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,30 +24,6 @@ services: retries: 3 start_period: 40s - # --- TERRA-VIEW DEVELOPMENT --- - terra-view-dev: - build: . - container_name: terra-view-dev - ports: - - "1001:8001" - volumes: - - ./data-dev:/app/data - environment: - - PYTHONUNBUFFERED=1 - - ENVIRONMENT=development - - SLMM_BASE_URL=http://host.docker.internal:8100 - restart: unless-stopped - depends_on: - - slmm - extra_hosts: - - "host.docker.internal:host-gateway" - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8001/health"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 40s - # --- SLMM (Sound Level Meter Manager) --- slmm: build: @@ -73,4 +49,3 @@ services: volumes: data: - data-dev: