Skip to content

Commit 625bb52

Browse files
Merge pull request #821 from humanmade/update-tachyon
Updates Tachyon to v3.0.7
2 parents cbd5ca9 + 30264ec commit 625bb52

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

inc/composer/class-docker-compose-generator.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,11 +586,13 @@ protected function get_service_tachyon() : array {
586586
"traefik.frontend.rule=HostRegexp:{$this->hostname},{subdomain:[A-Za-z0-9.-]+}.{$this->hostname};PathPrefix:/tachyon;ReplacePathRegex:^/tachyon/(.*) /uploads/$$1",
587587
],
588588
'environment' => [
589-
'AWS_REGION' => 'us-east-1',
590-
'AWS_S3_BUCKET' => "{$this->bucket_name}",
591-
'AWS_S3_ENDPOINT' => Command::set_url_scheme( "https://s3-{$this->hostname}/" ),
592-
'AWS_S3_CLIENT_ARGS' => 's3BucketEndpoint=true',
589+
'S3_REGION' => 'us-east-1',
590+
'S3_BUCKET' => "{$this->bucket_name}",
591+
'S3_ENDPOINT' => Command::set_url_scheme( "https://s3-{$this->hostname}/" ),
592+
'S3_FORCE_PATH_STYLE' => 'true',
593593
'NODE_TLS_REJECT_UNAUTHORIZED' => 0,
594+
'AWS_ACCESS_KEY_ID' => 'newuser',
595+
'AWS_SECRET_ACCESS_KEY' => 'newpassword',
594596
],
595597
'external_links' => [
596598
"proxy:s3-{$this->hostname}",

0 commit comments

Comments
 (0)