diff --git a/tasks/docker/docker.yml b/tasks/docker/docker.yml index 59fb720..1e177a7 100644 --- a/tasks/docker/docker.yml +++ b/tasks/docker/docker.yml @@ -91,7 +91,7 @@ - name: Ensure mastodon environment configuration is present template: src: templates/env.j2 - dest: "{{ mastodon_composer_folder }}/env.production" + dest: "{{ mastodon_composer_folder }}/.env.production" mode: 0600 backup: true @@ -109,7 +109,7 @@ - name: Add secret key to Mastodon config lineinfile: - path: "{{ mastodon_composer_folder }}/env.production" + path: "{{ mastodon_composer_folder }}/.env.production" line: "SECRET_KEY_BASE={{ mastodon_secret_key_base }}" regexp: "^SECRET_KEY_BASE=" backup: true @@ -129,7 +129,7 @@ - name: Add OTP key to Mastodon config lineinfile: - path: "{{ mastodon_composer_folder }}/env.production" + path: "{{ mastodon_composer_folder }}/.env.production" line: "OTP_SECRET={{ mastodon_otp_secret }}" regexp: "^OTP_SECRET=" backup: true @@ -149,7 +149,7 @@ - name: Add Paperclip key to Mastodon config lineinfile: - path: "{{ mastodon_composer_folder }}/env.production" + path: "{{ mastodon_composer_folder }}/.env.production" line: "PAPERCLIP_SECRET={{ mastodon_paperclip_secret }}" regexp: "^PAPERCLIP_SECRET=" backup: true @@ -174,7 +174,7 @@ - name: Add Paperclip private key to Mastodon config lineinfile: - path: "{{ mastodon_composer_folder }}/env.production" + path: "{{ mastodon_composer_folder }}/.env.production" line: "{{ vapid_private_key }}" regexp: "^VAPID_PRIVATE_KEY=" mode: 0600 @@ -182,7 +182,7 @@ - name: Add Paperclip public key to Mastodon config lineinfile: - path: "{{ mastodon_composer_folder }}/env.production" + path: "{{ mastodon_composer_folder }}/.env.production" line: "{{ vapid_public_key }}" regexp: "^VAPID_PUBLIC_KEY=" mode: 0600