I delete version because is deprecated/obsolete I added "restart" because help to not start the container every boot I added also comment to explain how ports work in docker, this help when port 3001 is already used, and need to change for other
13 lines
440 B
YAML
13 lines
440 B
YAML
services:
|
|
send2ereader:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
container_name: send2ereader
|
|
# Restart means, Automatic re-start the container after a shutdown unless manual stop container
|
|
restart: unless-stopped
|
|
# ports means, Bind external and internal docker ports, only change the external port, not the internal port
|
|
# Arquitecture: <External Port>:<Internal Port>
|
|
ports:
|
|
- 3001:3001
|