Updated param restart to unless-stopped

This commit is contained in:
Luiz F Picolo 2022-06-15 22:46:16 -04:00
parent 5c0b444e9c
commit b5da0d6a0f

View File

@ -4,7 +4,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
restart: always restart: unless-stopped
tty: true tty: true
container_name: app container_name: app
command: bundle exec ruby app.rb -o 0.0.0.0 -p 4567 command: bundle exec ruby app.rb -o 0.0.0.0 -p 4567