forked from baron/baron-sso
only JWT 발급
This commit is contained in:
@@ -11,6 +11,14 @@ services:
|
||||
environment:
|
||||
- APP_ENV=${APP_ENV:-development}
|
||||
- COOKIE_SECRET=${COOKIE_SECRET}
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
- DESCOPE_PROJECT_ID=${DESCOPE_PROJECT_ID}
|
||||
- DESCOPE_MANAGEMENT_KEY=${DESCOPE_MANAGEMENT_KEY}
|
||||
- NAVER_CLOUD_ACCESS_KEY=${NAVER_CLOUD_ACCESS_KEY}
|
||||
- NAVER_CLOUD_SECRET_KEY=${NAVER_CLOUD_SECRET_KEY}
|
||||
- NAVER_CLOUD_SERVICE_ID=${NAVER_CLOUD_SERVICE_ID}
|
||||
- NAVER_SENDER_PHONE_NUMBER=${NAVER_SENDER_PHONE_NUMBER}
|
||||
- FRONTEND_URL=${FRONTEND_URL}
|
||||
- DB_HOST=postgres
|
||||
- CLICKHOUSE_HOST=clickhouse
|
||||
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT_NATIVE:-9000}
|
||||
@@ -27,28 +35,18 @@ services:
|
||||
command: ["go", "run", "./cmd/server/main.go"]
|
||||
|
||||
frontend:
|
||||
image: ghcr.io/cirruslabs/flutter:stable # Use stable version for 2026 compatibility
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
container_name: baron_frontend
|
||||
working_dir: /app
|
||||
environment:
|
||||
- DESCOPE_PROJECT_ID=${DESCOPE_PROJECT_ID}
|
||||
ports:
|
||||
- "${FRONTEND_PORT:-5000}:5000"
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
command:
|
||||
[
|
||||
"flutter",
|
||||
"run",
|
||||
"-d",
|
||||
"web-server",
|
||||
"--web-port",
|
||||
"5000",
|
||||
"--web-hostname",
|
||||
"0.0.0.0",
|
||||
]
|
||||
networks:
|
||||
- baron_net
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
# Dummy service to wait for infra network if needed,
|
||||
# but essentially we assume infra is running.
|
||||
|
||||
Reference in New Issue
Block a user