Skip to content

Commit

Permalink
fix secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Dec 19, 2024
1 parent 26860fa commit 7b8d773
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker-compose.staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

# Define common configurations that can be reused
x-common-environment: &common-environment
NODE_ENV: staging
NODE_ENV: development
APP_PORT: 8080
BASE_URL: https://staging.api.streameth.org
PLAYER_URL: https://staging.player.streameth.org
Expand Down Expand Up @@ -87,8 +87,6 @@ x-common-secrets: &common-secrets
- google-service-account-email
- redis-password
- openai-api-key
- aws-access-key
- aws-secret-key

services:
server:
Expand Down Expand Up @@ -168,7 +166,7 @@ services:
AWS_ACCESS_KEY_ID: /run/secrets/aws-access-key
AWS_SECRET_ACCESS_KEY: /run/secrets/aws-secret-key
BUCKET_NAME: streameth-develop
BUCKET_URL: https://streameth-develop.ams3.cdn.digitaloceanspaces.com
BUCKET_URL: https://streameth-develop.ams3.digitaloceanspaces.com
SPACES_KEY_FILE: /run/secrets/spaces-key
SPACES_SECRET_FILE: /run/secrets/spaces-secret
SITE_NAME: rendering-engine
Expand All @@ -190,6 +188,8 @@ services:
- remotion-webhook-secret
- spaces-key
- spaces-secret
- aws-access-key
- aws-secret-key

mongodb:
image: mongo:latest
Expand Down Expand Up @@ -241,6 +241,7 @@ services:
- redis
environment:
<<: *common-environment
REMOTION_WEBHOOK_URL: https://staging.api.streameth.org/remotion-webhook
deploy:
<<: *common-deploy
mode: replicated
Expand Down

0 comments on commit 7b8d773

Please sign in to comment.