From 601b3362404cf0a9c239cecbc00769faff65ced2 Mon Sep 17 00:00:00 2001 From: Aleksandr Fenin Date: Thu, 23 Oct 2025 16:01:31 +0300 Subject: [PATCH] config/deployment-environments: remove dev docker compose file --- docker-compose.dev.yml | 68 ------------------------------------------ 1 file changed, 68 deletions(-) delete mode 100644 docker-compose.dev.yml diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml deleted file mode 100644 index 87ba143..0000000 --- a/docker-compose.dev.yml +++ /dev/null @@ -1,68 +0,0 @@ -version: '3.8' - -services: - app: - build: . - ports: - - "8080:8080" - environment: - - PORT=8080 - - LOG_LEVEL=INFO - - LOG_FORMAT=json - - DB_HOST=postgres - - DB_PORT=5432 - - DB_USER=postgres - - DB_PASSWORD=password - - DB_NAME=strive - - DB_SSL_MODE=disable - - JWT_SECRET=dev-secret-key-12345-very-long-for-security - - JWT_ISSUER=strive-api - - JWT_AUDIENCE=strive-app - - JWT_CLOCK_SKEW=2m - - CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001,http://localhost:4200,https://your-dev-domain.com - - CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,OPTIONS - - CORS_ALLOWED_HEADERS=Accept,Authorization,Content-Type,X-Request-ID - - CORS_EXPOSED_HEADERS=X-Request-ID - - CORS_ALLOW_CREDENTIALS=true - - CORS_MAX_AGE=86400 - - COOKIE_SECURE=false - - COOKIE_SAMESITE=Lax - - COOKIE_DOMAIN= - - RATE_LIMIT_ENABLED=true - - RATE_LIMIT_AUTH_PER_MINUTE=5 - - RATE_LIMIT_GENERAL_PER_MINUTE=60 - - RATE_LIMIT_BURST_SIZE=10 - - EXERCISEDB_ENABLED=true - - EXERCISEDB_BASE_URL=https://exercise.hellogym.io - - EXERCISEDB_TIMEOUT=30s - - EXERCISEDB_RETRY_COUNT=3 - depends_on: - postgres: - condition: service_healthy - healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 40s - - postgres: - image: postgres:15-alpine - container_name: strive-postgres-dev - environment: - POSTGRES_DB: strive - POSTGRES_USER: postgres - POSTGRES_PASSWORD: password - ports: - - "5432:5432" - volumes: - - postgres_data_dev:/var/lib/postgresql/data - - ./migrations:/docker-entrypoint-initdb.d - healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres -d strive"] - interval: 5s - timeout: 5s - retries: 5 - -volumes: - postgres_data_dev: