mirror of
https://github.com/XShengTech/MEGREZ-Deploy.git
synced 2026-01-13 17:27:16 +08:00
[Fix] 😅 Docker restart Strategy
This commit is contained in:
parent
03fce567b4
commit
4a730fe24f
@ -4,7 +4,7 @@ services:
|
||||
megrez:
|
||||
image: xshengtech/megrez:latest
|
||||
container_name: megrez
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
volumes:
|
||||
@ -18,7 +18,7 @@ services:
|
||||
megrez-postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: megrez-postgres
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
@ -30,7 +30,7 @@ services:
|
||||
megrez-redis:
|
||||
image: redis:7-alpine
|
||||
container_name: megrez-redis
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/data/redis:/data
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user