forked from baron/baron-sso
패키징 개선
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
target: dev
|
||||
container_name: baron_backend
|
||||
env_file:
|
||||
- .env
|
||||
@@ -42,14 +43,14 @@ services:
|
||||
- ./backend:/app
|
||||
- ./config:/app/config:ro
|
||||
- ./adminfront/seed-tenant.csv:/app/seed-tenant.csv:ro
|
||||
command: ["go", "run", "./cmd/server"]
|
||||
command: ["/usr/local/bin/baron-backend-dev"]
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
retries: 12
|
||||
start_period: 60s
|
||||
|
||||
adminfront:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user