Skip to content

Commit c369599

Browse files
committed
缺少重启配置
1 parent 69f643c commit c369599

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

templates/docker-compose-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ services:
44
command: prisma migrate deploy
55
api:
66
image: {{projectName}}:integration
7+
restart: always
78
ports:
89
- 3000:3000
910
cron:

templates/docker-compose-production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ services:
44
command: prisma migrate deploy
55
api:
66
image: {{projectName}}:production
7+
restart: always
78
ulimits:
89
nofile:
910
soft: 65535

0 commit comments

Comments
 (0)