Skip to content

Commit

Permalink
chore(docker): Make volumes RO
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel7004 committed Dec 24, 2024
1 parent 0b05cdc commit cc67d65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ports:
- '8888:8000' # Map host port 8888 to container port 8000 (Deno app)
volumes:
- ./frontend:/app # Mount the local frontend directory to /app in the container
- ./frontend:/app:ro # Mount the local frontend directory to /app in the container
depends_on:
- backend
networks:
Expand All @@ -19,7 +19,7 @@ services:
context: ./frontendReact
dockerfile: Dockerfile
ports:
- '8080:80' # Map host port 8080 to container port 8000 (Deno app)
- '8080:80'
depends_on:
- backend
networks:
Expand All @@ -32,7 +32,7 @@ services:
ports:
- '8000:8000' # Map host port 8000 to container port 8000 (FastAPI app)
volumes:
- ./backend:/app # Mount the local backend directory to /app in the container
- ./backend:/app:ro # Mount the local backend directory to /app in the container
depends_on:
- db
environment:
Expand Down

0 comments on commit cc67d65

Please sign in to comment.