1
0
Fork 0

Hack to fix NPM again

This commit is contained in:
Andrew Tomaka 2024-06-13 22:04:31 -04:00
parent 3b0cc2314d
commit 57ab4e48df
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
3 changed files with 9 additions and 0 deletions

View file

@ -10,5 +10,6 @@ services:
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
- ./_hsts_map.conf:/app/templates/_hsts_map.conf
environment:
- AWS_CONFIG_FILE=/etc/letsencrypt/credentials/credentials-6

View file

@ -29,6 +29,14 @@
owner: npm
group: npm
- name: Put hsts hsts hack in place
copy:
src: files/_hsts_map.conf
dest: /home/npm/npm/_hsts_map.conf
mode: 0644
owner: npm
group: npm
- name: Start npm
become: yes
become_user: npm