added restart: until-stopped
This commit is contained in:
parent
0f6872bde0
commit
7e7d65760f
|
@ -3,6 +3,7 @@ version: '3' # Specify a Docker Compose file version
|
||||||
services:
|
services:
|
||||||
site: # Name of your service
|
site: # Name of your service
|
||||||
build: . # Path to your Dockerfile (assumes it's in the same directory)
|
build: . # Path to your Dockerfile (assumes it's in the same directory)
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "3004:8080" # Map external port 3000 to internal port 8080
|
- "3004:8080" # Map external port 3000 to internal port 8080
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue