2024-04-05 00:03:11 +00:00
|
|
|
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)
|
2024-05-01 18:26:57 +00:00
|
|
|
container_name: site
|
2024-04-07 20:52:01 +00:00
|
|
|
restart: unless-stopped
|
2024-04-05 00:03:11 +00:00
|
|
|
ports:
|
2024-04-05 00:06:40 +00:00
|
|
|
- "3004:8080" # Map external port 3000 to internal port 8080
|
2024-04-05 00:36:46 +00:00
|
|
|
volumes:
|
|
|
|
- ./content:/usr/src/app/content
|