Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/job_test_api_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: useblacksmith/setup-docker-builder@v1
- name: Create dashboard env file for Docker Compose
run: |
mkdir -p ./apps/dashboard
touch ./apps/dashboard/.env
- name: Run containers
run: docker compose -f ./deployment/docker-compose.yaml up mysql redis clickhouse planetscale agent s3 apiv2 api -d --wait
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/job_test_go_api_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
runs-on: blacksmith-16vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- name: Create dashboard env file for Docker Compose
run: |
mkdir -p ./apps/dashboard
touch ./apps/dashboard/.env
- name: Set up Docker Buildx
uses: useblacksmith/setup-docker-builder@v1
- name: Setup Go
Expand Down
9 changes: 4 additions & 5 deletions deployment/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ services:
depends_on:
- planetscale
- agent
env_file:
- ../apps/dashboard/.env
environment:
# Database configuration
DATABASE_HOST: "planetscale:3900"
DATABASE_USERNAME: "unkey"
DATABASE_PASSWORD: "password"
# Auth configuration
AUTH_PROVIDER: "local"
# Reading from env file, no override necessary
# Agent configuration
AGENT_URL: "http://agent:8080"
AGENT_TOKEN: "agent-auth-secret"
Expand All @@ -220,8 +220,7 @@ services:
# Environment
NODE_ENV: "production"
# Bootstrap workspace/API IDs
UNKEY_WORKSPACE_ID: "ws_local_root"
UNKEY_API_ID: "api_local_root_keys"
# Reading from env file, no override necessary
# Unkey Deploy Services - All-in-one development container with all 4 services
metald-aio:
build:
Expand Down