site/docker-compose.yml

11 lines
336 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)
restart: unless-stopped
ports:
- "3004:8080" # Map external port 3000 to internal port 8080
volumes:
- ./content:/usr/src/app/content