make compose automatically restart
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
version: "3"
|
||||
services:
|
||||
backend:
|
||||
restart: always
|
||||
build:
|
||||
target: app # choose a stage to use
|
||||
ports:
|
||||
@@ -11,6 +12,7 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
frontend:
|
||||
restart: always
|
||||
build:
|
||||
context: ../sorvor-front
|
||||
args:
|
||||
@@ -18,6 +20,7 @@ services:
|
||||
ports:
|
||||
- 3002:3000
|
||||
minio:
|
||||
restart: always
|
||||
image: quay.io/minio/minio
|
||||
command: server /data --console-address ":9001"
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user