Skip to content

Commit

Permalink
redis changes
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-brennan2005 committed Jun 10, 2024
1 parent 70a6a5e commit 0f40275
Show file tree
Hide file tree
Showing 32 changed files with 40 additions and 560 deletions.
File renamed without changes.
5 changes: 0 additions & 5 deletions config/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ SAC_REDIS_LIMITER_HOST="127.0.0.1"
SAC_REDIS_LIMITER_PORT="6381"
SAC_REDIS_LIMITER_DB="0"

SAC_AWS_BUCKET_NAME="SAC_AWS_BUCKET_NAME"
SAC_AWS_ID="SAC_AWS_ID"
SAC_AWS_SECRET="SAC_AWS_SECRET"
SAC_AWS_REGION="SAC_AWS_REGION"

SAC_SUDO_PASSWORD="Password#!1"

SAC_AWS_BUCKET_NAME="SAC_AWS_BUCKET_NAME"
Expand Down
1 change: 0 additions & 1 deletion deployment/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions deployment/.terraform.lock.hcl

This file was deleted.

72 changes: 0 additions & 72 deletions deployment/docker-composes/redis.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
34 changes: 34 additions & 0 deletions deployment/docker/redis/redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
services:
redis-session:
build:
context: .
dockerfile: Dockerfile.redis
container_name: redis_session
ports:
- 6380:6379
environment:
- REDIS_USERNAME=${SAC_REDIS_SESSION_USERNAME}
- REDIS_PASSWORD=${SAC_REDIS_SESSION_PASSWORD}
- REDIS_DISABLE_DEFAULT_USER="true"
volumes:
- redis-session-data:/data
redis-limiter:
build:
context: .
dockerfile: Dockerfile.redis
container_name: redis_limiter
ports:
- 6381:6379
environment:
- REDIS_USERNAME=${SAC_REDIS_LIMITER_USERNAME}
- REDIS_PASSWORD=${SAC_REDIS_LIMITER_PASSWORD}
- REDIS_DISABLE_DEFAULT_USER="true"
volumes:
- redis-limiter-data:/data
volumes:
redis-session-data:
redis-limiter-data:
opensearch-data1:

networks:
opensearch-net:
File renamed without changes.
53 changes: 0 additions & 53 deletions deployment/main.tf

This file was deleted.

17 changes: 0 additions & 17 deletions deployment/packer/docker-install.sh

This file was deleted.

18 changes: 0 additions & 18 deletions deployment/packer/echo-test.pkr.hcl

This file was deleted.

26 changes: 0 additions & 26 deletions deployment/packer/opensearch.pkr.hcl

This file was deleted.

12 changes: 0 additions & 12 deletions deployment/packer/preamble.pkr.hcl

This file was deleted.

26 changes: 0 additions & 26 deletions deployment/packer/redis.pkr.hcl

This file was deleted.

7 changes: 0 additions & 7 deletions deployment/packer/webserver-init.sh

This file was deleted.

18 changes: 0 additions & 18 deletions deployment/packer/webserver.pkr.hcl

This file was deleted.

File renamed without changes.
16 changes: 0 additions & 16 deletions deployment/terraform-modules/go-server/init.sh

This file was deleted.

29 changes: 0 additions & 29 deletions deployment/terraform-modules/go-server/main.tf

This file was deleted.

Empty file.
10 changes: 0 additions & 10 deletions deployment/terraform-modules/go-server/variables.tf

This file was deleted.

Loading

0 comments on commit 0f40275

Please sign in to comment.