-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
27 lines (26 loc) · 941 Bytes
/
docker-compose.dev.yml
File metadata and controls
27 lines (26 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Dev overlay for live reload during development.
#
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up <workspace-name>
#
# The service name below must match a workspace name in your generated docker-compose.yml.
# For example, if your workspace is named "discovery":
# docker compose -f docker-compose.yml -f docker-compose.dev.yml up discovery
#
# To use with a different workspace, either:
# 1. Duplicate the block below with your workspace name, or
# 2. Use the workspace name directly — Compose merges by service name
#
# Example for a workspace named "my-project":
# services:
# my-project:
# volumes: [same as below]
# ports: ["6070:6070"]
# command: ["node", "--watch", "src/service/index.js"]
services:
discovery:
volumes:
- ./src:/app/src:ro
- ./public:/app/public:ro
ports:
- "6070:6070"
command: ["node", "--watch", "src/service/index.js"]