unless-stopped instead of always restart type

it is easy to use, also you can stop proxy and start again without removing it docker image
This commit is contained in:
iShift
2018-05-30 17:40:52 +03:00
committed by GitHub
parent f003d34632
commit 8abb5d5cdb

View File

@@ -2,6 +2,6 @@ version: '2.0'
services: services:
mtprotoproxy: mtprotoproxy:
build: . build: .
restart: always restart: unless-stopped
mem_limit: 1024m mem_limit: 1024m
network_mode: "host" network_mode: "host"