From 0b05cdc3c39b2ec6e7821ed890c51682415f24b4 Mon Sep 17 00:00:00 2001 From: Kovalev Pavel Date: Tue, 24 Dec 2024 13:38:35 +0300 Subject: [PATCH] chore(docker): Rename to Dockerfile --- compose.yml => docker-compose.yml | 11 +++-------- frontendReact/{Containerfile => Dockerfile} | 0 2 files changed, 3 insertions(+), 8 deletions(-) rename compose.yml => docker-compose.yml (85%) rename frontendReact/{Containerfile => Dockerfile} (100%) diff --git a/compose.yml b/docker-compose.yml similarity index 85% rename from compose.yml rename to docker-compose.yml index cf5867d..76413f4 100644 --- a/compose.yml +++ b/docker-compose.yml @@ -17,11 +17,9 @@ services: frontend: build: context: ./frontendReact - dockerfile: Containerfile + dockerfile: Dockerfile ports: - '8080:80' # Map host port 8080 to container port 8000 (Deno app) - volumes: - - ./frontend:/app # Mount the local frontend directory to /app in the container depends_on: - backend networks: @@ -36,7 +34,7 @@ services: volumes: - ./backend:/app # Mount the local backend directory to /app in the container depends_on: - - neo4j + - db environment: - NEO4J_URI=bolt://neo4j:7687 - NEO4J_USER=neo4j @@ -44,11 +42,8 @@ services: networks: - app-network - neo4j: + db: image: neo4j:latest - ports: - - '7474:7474' # HTTP access - - '7687:7687' # Bolt access volumes: - neo4j_data:/data # Persist database data - neo4j_logs:/logs # Persist database logs diff --git a/frontendReact/Containerfile b/frontendReact/Dockerfile similarity index 100% rename from frontendReact/Containerfile rename to frontendReact/Dockerfile