diff --git a/backend/Dockerfile b/Dockerfile similarity index 100% rename from backend/Dockerfile rename to Dockerfile diff --git a/backend/app/__init__.py b/app/__init__.py similarity index 100% rename from backend/app/__init__.py rename to app/__init__.py diff --git a/app/__pycache__/__init__.cpython-311.pyc b/app/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..ea7056a Binary files /dev/null and b/app/__pycache__/__init__.cpython-311.pyc differ diff --git a/app/__pycache__/main.cpython-311.pyc b/app/__pycache__/main.cpython-311.pyc new file mode 100644 index 0000000..fc0760f Binary files /dev/null and b/app/__pycache__/main.cpython-311.pyc differ diff --git a/backend/app/api/__init__.py b/app/api/__init__.py similarity index 100% rename from backend/app/api/__init__.py rename to app/api/__init__.py diff --git a/backend/app/core/__init__.py b/app/core/__init__.py similarity index 100% rename from backend/app/core/__init__.py rename to app/core/__init__.py diff --git a/app/core/__pycache__/__init__.cpython-311.pyc b/app/core/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..8cbf728 Binary files /dev/null and b/app/core/__pycache__/__init__.cpython-311.pyc differ diff --git a/app/core/__pycache__/config.cpython-311.pyc b/app/core/__pycache__/config.cpython-311.pyc new file mode 100644 index 0000000..76e21c0 Binary files /dev/null and b/app/core/__pycache__/config.cpython-311.pyc differ diff --git a/backend/app/core/config.py b/app/core/config.py similarity index 100% rename from backend/app/core/config.py rename to app/core/config.py diff --git a/backend/app/main.py b/app/main.py similarity index 100% rename from backend/app/main.py rename to app/main.py diff --git a/backend/app/models/__init__.py b/app/models/__init__.py similarity index 100% rename from backend/app/models/__init__.py rename to app/models/__init__.py diff --git a/app/models/__pycache__/__init__.cpython-311.pyc b/app/models/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..91d35f5 Binary files /dev/null and b/app/models/__pycache__/__init__.cpython-311.pyc differ diff --git a/app/models/__pycache__/models.cpython-311.pyc b/app/models/__pycache__/models.cpython-311.pyc new file mode 100644 index 0000000..e58dabf Binary files /dev/null and b/app/models/__pycache__/models.cpython-311.pyc differ diff --git a/backend/app/models/models.py b/app/models/models.py similarity index 100% rename from backend/app/models/models.py rename to app/models/models.py diff --git a/backend/app/schemas/__init__.py b/app/schemas/__init__.py similarity index 100% rename from backend/app/schemas/__init__.py rename to app/schemas/__init__.py diff --git a/app/schemas/__pycache__/__init__.cpython-311.pyc b/app/schemas/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..28a3700 Binary files /dev/null and b/app/schemas/__pycache__/__init__.cpython-311.pyc differ diff --git a/app/schemas/__pycache__/schemas.cpython-311.pyc b/app/schemas/__pycache__/schemas.cpython-311.pyc new file mode 100644 index 0000000..35767b0 Binary files /dev/null and b/app/schemas/__pycache__/schemas.cpython-311.pyc differ diff --git a/backend/app/schemas/schemas.py b/app/schemas/schemas.py similarity index 100% rename from backend/app/schemas/schemas.py rename to app/schemas/schemas.py diff --git a/backend/app/services/__init__.py b/app/services/__init__.py similarity index 100% rename from backend/app/services/__init__.py rename to app/services/__init__.py diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 214f113..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,91 +0,0 @@ -version: '3.8' - -services: - # MySQL Database - mysql: - image: mysql:8.0 - container_name: harborforge-mysql - restart: unless-stopped - environment: - MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-harborforge_root} - MYSQL_DATABASE: ${MYSQL_DATABASE:-harborforge} - MYSQL_USER: ${MYSQL_USER:-harborforge} - MYSQL_PASSWORD: ${MYSQL_PASSWORD:-harborforge_pass} - volumes: - - mysql_data:/var/lib/mysql - ports: - - "3306:3306" - networks: - - harborforge - healthcheck: - test: ["CMD", "mysqladmin", "ping", "-h", "localhost"] - interval: 10s - timeout: 5s - retries: 5 - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - - # FastAPI Backend - backend: - build: - context: ./backend - dockerfile: Dockerfile - container_name: harborforge-backend - restart: unless-stopped - environment: - DATABASE_URL: mysql+pymysql://${MYSQL_USER:-harborforge}:${MYSQL_PASSWORD:-harborforge_pass}@mysql:3306/${MYSQL_DATABASE:-harborforge} - SECRET_KEY: ${SECRET_KEY:-change_me_in_production} - LOG_LEVEL: ${LOG_LEVEL:-INFO} - ports: - - "8000:8000" - depends_on: - mysql: - condition: service_healthy - networks: - - harborforge - volumes: - - ./backend:/app - deploy: - resources: - limits: - cpus: '0.5' - memory: 512M - - # React Frontend (optional, for future) - # frontend: - # build: - # context: ./frontend - # dockerfile: Dockerfile - # container_name: harborforge-frontend - # restart: unless-stopped - # ports: - # - "3000:3000" - # depends_on: - # - backend - # networks: - # - harborforge - # volumes: - # - ./frontend:/app - # - /app/node_modules - - # CLI (run on demand) - # cli: - # build: - # context: ./cli - # dockerfile: Dockerfile - # volumes: - # - ./cli:/app - # - ~/.harborforge:/root/.harborforge - # networks: - # - harborforge - -networks: - harborforge: - driver: bridge - -volumes: - mysql_data: - driver: local diff --git a/backend/requirements.txt b/requirements.txt similarity index 100% rename from backend/requirements.txt rename to requirements.txt