Skip to content

Commit ddea860

Browse files
ImTotemclaude
andcommitted
fix(infra): add sudo for docker commands and SPICEDB_PORT to .env.example
- Docker socket requires sudo on the deployment server - SPICEDB_PORT was missing from .env.example, causing compose warning Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b1f6cef commit ddea860

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ MONGO_VOLUME_PATH=/home/ubuntu/bcsd-data/mongo
4141
# === Infrastructure ===
4242
# SpiceDB (권한 관리)
4343
SPICEDB_ENDPOINT=spicedb:50051
44+
SPICEDB_PORT=50051
4445
SPICEDB_TOKEN=bcsd-dev-token
4546
DOMAIN=api.bcsdlab.com
4647
N8N_DOMAIN=n8n.bcsdlab.com

infra/scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
COMPOSE="docker compose --env-file .env -f infra/docker/docker-compose.yml"
5-
COMPOSE_DB="docker compose --env-file .env -f infra/docker/docker-compose.db.yml"
4+
COMPOSE="sudo docker compose --env-file .env -f infra/docker/docker-compose.yml"
5+
COMPOSE_DB="sudo docker compose --env-file .env -f infra/docker/docker-compose.db.yml"
66
NGINX_CONF="infra/docker/nginx.conf"
77
HEALTH_PATH="/openapi.json"
88
MAX_RETRIES=10

0 commit comments

Comments
 (0)