Public Access
1
0

fix: update dev environment ports

This commit is contained in:
2025-08-25 13:29:11 -04:00
parent bf2546e103
commit 4b24a1ebcc

View File

@@ -5,8 +5,8 @@
# #
# To start both, run: docker compose -f docker-compose.dev.yml up # To start both, run: docker compose -f docker-compose.dev.yml up
# #
# Your site will be available at http://localhost:8080 # Your site will be available at http://localhost:8080.
# Your API will be available at http://localhost:3000 # API requests are proxied from /api to the API service, so you don't need to access port 3000 directly.
services: services:
# This service runs the Eleventy development server. # This service runs the Eleventy development server.
eleventy: eleventy:
@@ -42,8 +42,9 @@ services:
# to detach cleanly. # to detach cleanly.
init: true init: true
container_name: api_dev container_name: api_dev
# The API port does not need to be exposed to the host. The 'eleventy'
# service proxies requests to it over the internal Docker network.
ports: ports:
- "3000:3000" # Express API server port
- "9229:9229" # Node.js debugger port - "9229:9229" # Node.js debugger port
volumes: volumes:
- .:/app - .:/app