Skip to content

Commit

Permalink
fix redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jun 20, 2024
1 parent 1787a9e commit 917d022
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/infra-dev/nextflow-ecs-task-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ parameters:
FrontendContainerImage: 'cr.seqera.io/private/nf-tower-enterprise/frontend:{{stack_group_config.tower_version}}'
BackendContainerImage: 'cr.seqera.io/private/nf-tower-enterprise/backend:{{stack_group_config.tower_version}}'
MigrateDBContainerImage: 'cr.seqera.io/private/nf-tower-enterprise/migrate-db:{{stack_group_config.tower_version}}'
RedisContainerImage: 'cr.seqera.io/public/redis:5.0.8'
EfsFileSystemId: !stack_output_external nextflow-efs-file-system::FileSystemId
EfsVolumeMountPath: '/efs'
TowerUserWorkspace: 'false'
Expand Down
1 change: 1 addition & 0 deletions config/infra-prod/nextflow-ecs-task-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ parameters:
FrontendContainerImage: 'cr.seqera.io/private/nf-tower-enterprise/frontend:{{stack_group_config.tower_version}}'
BackendContainerImage: 'cr.seqera.io/private/nf-tower-enterprise/backend:{{stack_group_config.tower_version}}'
MigrateDBContainerImage: 'cr.seqera.io/private/nf-tower-enterprise/migrate-db:{{stack_group_config.tower_version}}'
RedisContainerImage: 'cr.seqera.io/public/redis:5.0.8'
EfsFileSystemId: !stack_output_external nextflow-efs-file-system::FileSystemId
EfsVolumeMountPath: '/efs'
TowerUserWorkspace: 'false'
Expand Down
2 changes: 2 additions & 0 deletions templates/nextflow-ecs-task-definition.j2
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,11 @@ Resources:
EFSVolumeConfiguration:
FilesystemId: !Ref EfsFileSystemId
ContainerDefinitions:
{%- if sceptre_user_data.EnableRedisDocker is defined and sceptre_user_data.EnableRedisDocker %}
- image: !Ref RedisContainerImage
repositoryCredentials:
credentialsParameter: !Sub 'arn:aws:secretsmanager:us-east-1:${AWS::AccountId}:secret:TOWER_DEV_SEQERA_REGISTRY_SECRET'
{%- endif %}
- image: !Ref MigrateDBContainerImage
repositoryCredentials:
credentialsParameter: !Sub 'arn:aws:secretsmanager:us-east-1:${AWS::AccountId}:secret:TOWER_DEV_SEQERA_REGISTRY_SECRET'
Expand Down

0 comments on commit 917d022

Please sign in to comment.