make compose automatically restart

This commit is contained in:
2024-04-20 12:26:48 +07:00
parent 4595e1c9ed
commit ed8c0e77f2

View File

@@ -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: