add automatic restart of containers

Added ```restart: unless-stopped``` to keep containers up and running after a reboot.
This commit is contained in:
Falko Zurell 2022-05-09 11:00:28 +02:00 committed by GitHub
parent 49e6eb8f68
commit d0b7474744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@ version: '3'
services:
nginx:
image: nginx:latest
restart: unless-stopped
ports:
- 1333:80
depends_on: