12 lines
361 B
YAML
12 lines
361 B
YAML
version: '3' # Specify a Docker Compose file version
|
|
|
|
services:
|
|
site: # Name of your service
|
|
build: . # Path to your Dockerfile (assumes it's in the same directory)
|
|
container_name: site
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3004:8080" # Map external port 3000 to internal port 8080
|
|
volumes:
|
|
- ./content:/usr/src/app/content
|