Skip to content

Commit

Permalink
Merge pull request #301 from stakwork/feat/add_env_docker_compose
Browse files Browse the repository at this point in the history
Feat/add env docker compose
  • Loading branch information
tobi-bams authored Sep 19, 2024
2 parents 139aac8 + 6dc243e commit 68e9373
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/super/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# docker build -f src/bin/super/Dockerfile -t sphinx-super .

# Rust as the base image
FROM rust:1.77-slim-bullseye as build
FROM rust:1.78-slim-bullseye as build

# Create a new empty shell project
# RUN USER=root cargo new --lib sphinx-swarm
Expand Down
26 changes: 26 additions & 0 deletions superadmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,32 @@ services:
- ROCKET_ADDRESS=0.0.0.0
- ROCKET_PORT=8000
- SUPER_TOKEN=$SUPER_TOKEN
- SECOND_BRAIN_ONLY=$SECOND_BRAIN_ONLY
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- AWS_REGION=$AWS_REGION
- AWS_S3_REGION_NAME=$AWS_S3_REGION_NAME
- AWS_IMAGE_ID=$AWS_IMAGE_ID
- SUPER_TOKEN=$SUPER_TOKEN
- SUPER_URL=$SUPER_URL
- FEATURE_FLAG_TEXT_EMBEDDINGS=$FEATURE_FLAG_TEXT_EMBEDDINGS
- STAKWORK_ADD_NODE_TOKEN=$STAKWORK_ADD_NODE_TOKEN
- STAKWORK_RADAR_REQUEST_TOKEN=$STAKWORK_RADAR_REQUEST_TOKEN
- YOUTUBE_API_TOKEN=$YOUTUBE_API_TOKEN
- TWITTER_BEARER=$TWITTER_BEARER
- EXTERNAL_LND_MACAROON=$EXTERNAL_LND_MACAROON
- EXTERNAL_LND_ADDRESS=$EXTERNAL_LND_ADDRESS
- EXTERNAL_LND_CERT=$EXTERNAL_LND_CERT
- JARVIS_FEATURE_FLAG_SCHEMA=$JARVIS_FEATURE_FLAG_SCHEMA
- FEATURE_FLAG_ADD_NODE_KEY=$FEATURE_FLAG_ADD_NODE_KEY
- BACKUP=$BACKUP
- FEATURE_FLAG_ADD_NODE_KEY=$FEATURE_FLAG_ADD_NODE_KEY
- FEATURE_FLAG_TEXT_EMBEDDINGS=$FEATURE_FLAG_TEXT_EMBEDDINGS
- ROUTE53_ZONE_ID=$ROUTE53_ZONE_ID
- AWS_DEVICE_NAME=$AWS_DEVICE_NAME
- AWS_IMAGE_ID=$AWS_IMAGE_ID
- AWS_SECURITY_GROUP_ID=$AWS_SECURITY_GROUP_ID
- AWS_KEY_NAME=$AWS_KEY_NAME

networks:
sphinx-swarm:
Expand Down

0 comments on commit 68e9373

Please sign in to comment.