set restart policy to unless-stopped

This commit is contained in:
simon 2022-07-03 17:23:02 +07:00
parent 72ec78e011
commit 5bc67104ea
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ version: '3.3'
services:
tubearchivist:
container_name: tubearchivist
restart: always
restart: unless-stopped
image: bbilly1/tubearchivist:latest
ports:
- 8000:8000
@ -25,7 +25,7 @@ services:
archivist-redis:
image: redislabs/rejson:latest # for arm64 use bbilly1/rejson
container_name: archivist-redis
restart: always
restart: unless-stopped
expose:
- "6379"
volumes:
@ -35,7 +35,7 @@ services:
archivist-es:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 7.17.4
container_name: archivist-es
restart: always
restart: unless-stopped
environment:
- "xpack.security.enabled=true"
- "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password