From 6e8912eed150b02261b01068dece68cd756eaaf6 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 24 Jan 2026 23:53:08 +1100 Subject: [PATCH] chore: ignore local config overrides (docker-compose.yml, ca-bundle.pem) --- .gitignore | 4 +++ docker-compose.yml | 86 ---------------------------------------------- 2 files changed, 4 insertions(+), 86 deletions(-) delete mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore index 0579fc4..29ba752 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,7 @@ uv.lock # Docker volumes minio_data/ + +# Local configuration overrides +docker-compose.yml +ca-bundle.pem diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index c0df6f8..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,86 +0,0 @@ -version: '3.8' - -services: - artifactapi: - build: - context: . - dockerfile: Dockerfile - no_cache: true - ports: - - "8000:8000" - environment: - - CONFIG_PATH=/app/remotes.yaml - - DBHOST=postgres - - DBPORT=5432 - - DBUSER=artifacts - - DBPASS=artifacts123 - - DBNAME=artifacts - - REDIS_URL=redis://redis:6379 - - MINIO_ENDPOINT=minio:9000 - - MINIO_ACCESS_KEY=minioadmin - - MINIO_SECRET_KEY=minioadmin - - MINIO_BUCKET=artifacts - - MINIO_SECURE=false - depends_on: - postgres: - condition: service_healthy - redis: - condition: service_healthy - minio: - condition: service_healthy - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000/health"] - interval: 30s - timeout: 10s - retries: 3 - - minio: - image: minio/minio:latest - ports: - - "9000:9000" - - "9001:9001" - environment: - MINIO_ROOT_USER: minioadmin - MINIO_ROOT_PASSWORD: minioadmin - command: server /data --console-address ":9001" - volumes: - - minio_data:/data - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] - interval: 30s - timeout: 20s - retries: 3 - - redis: - image: redis:7-alpine - ports: - - "6379:6379" - volumes: - - redis_data:/data - command: redis-server --save 20 1 - healthcheck: - test: ["CMD", "redis-cli", "ping"] - interval: 30s - timeout: 10s - retries: 3 - - postgres: - image: postgres:15-alpine - ports: - - "5432:5432" - environment: - POSTGRES_DB: artifacts - POSTGRES_USER: artifacts - POSTGRES_PASSWORD: artifacts123 - volumes: - - postgres_data:/var/lib/postgresql/data - healthcheck: - test: ["CMD-SHELL", "pg_isready -U artifacts -d artifacts"] - interval: 30s - timeout: 10s - retries: 3 - -volumes: - minio_data: - redis_data: - postgres_data: