Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Docker: --restart unless-stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Sep 17, 2017
1 parent d008d1f commit fe5e312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ docker-rebuild: docker-stop docker-clean
$(D) run --net=none --rm meowkov_builder | docker build -t meowkov -f Dockerfile.run -
$(D) rmi -f meowkov_builder

$(D) run -d -v $(CURDIR)/data:/data:rw --name meowkov_corpus redis
$(D) run -d -v $(CURDIR)/meowkov.conf:/meowkov.conf:ro --link meowkov_corpus:redis -it --name meowkov_irc meowkov
$(D) run -d --restart unless-stopped -v $(CURDIR)/data:/data:rw --name meowkov_corpus redis
$(D) run -d --restart unless-stopped -v $(CURDIR)/meowkov.conf:/meowkov.conf:ro --link meowkov_corpus:redis -it --name meowkov_irc meowkov
docker-start:
$(D) start meowkov_corpus
$(D) start meowkov_irc
Expand Down

0 comments on commit fe5e312

Please sign in to comment.