forked from mirrors/bookwyrm
add automatic restart of containers
Added ```restart: unless-stopped``` to keep containers up and running after a reboot.
This commit is contained in:
parent
49e6eb8f68
commit
d0b7474744
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 1333:80
|
- 1333:80
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue