about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDenis Teyssier <admin@mascali.ovh>2020-05-10 09:50:06 +0200
committerGitHub <noreply@github.com>2020-05-10 09:50:06 +0200
commit73f3842284ac8ed6519e4d680ab17bde47dfbcae (patch)
tree86156253ce766d9e7f34ce079feca8266d8c85fd
parent34756cc4e095fa4d3add5ea94c1453e6a2f33064 (diff)
Updated docker-compose snippet to a working one (#13196)
added 'bundle exec' before rake
-rw-r--r--.env.production.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 8a6888621..e041e0a04 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -33,7 +33,7 @@ LOCAL_DOMAIN=example.com
 # ALTERNATE_DOMAINS=example1.com,example2.com
 
 # Application secrets
-# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
+# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web bundle exec rake secret` if you use docker compose)
 SECRET_KEY_BASE=
 OTP_SECRET=
 
@@ -42,7 +42,7 @@ OTP_SECRET=
 # You should only generate this once per instance. If you later decide to change it, all push subscription will
 # be invalidated, requiring the users to access the website again to resubscribe.
 #
-# Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose)
+# Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web bundle exec rake mastodon:webpush:generate_vapid_key` if you use docker compose)
 #
 # For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html
 VAPID_PRIVATE_KEY=