1
0
forked from baron/baron-sso

패키징 개선

This commit is contained in:
2026-06-22 17:56:20 +09:00
parent 12d8d0e832
commit 9cbc9828e6
27 changed files with 1239 additions and 177 deletions

View File

@@ -26,7 +26,7 @@ services:
- baron_net
- ory-net
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
test: ["CMD", "/app/healthcheck"]
interval: 10s
timeout: 5s
retries: 10

View File

@@ -26,11 +26,11 @@ services:
depends_on:
- infra_check
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
test: ["CMD", "/app/healthcheck"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
retries: 12
start_period: 60s
networks:
- baron_net

View File

@@ -364,6 +364,7 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
target: dev
container_name: baron_backend
restart: unless-stopped
env_file:
@@ -412,13 +413,13 @@ services:
volumes:
- ./backend:/app
- ./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: