updated ipfs state
This commit is contained in:
parent
0b97450366
commit
4560f9d1fe
@ -9,7 +9,7 @@ ipfs-set-storagemax:
|
|||||||
|
|
||||||
ipfs-set-headers-1:
|
ipfs-set-headers-1:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
|
- name: /usr/local/sbin/ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
|
||||||
- runas: ipfs
|
- runas: ipfs
|
||||||
- cwd: /var/lib/ipfs
|
- cwd: /var/lib/ipfs
|
||||||
- watch-in:
|
- watch-in:
|
||||||
@ -18,7 +18,7 @@ ipfs-set-headers-1:
|
|||||||
ipfs-set-headers-2:
|
ipfs-set-headers-2:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
#- name: ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://localhost:8888", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
|
#- name: ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://localhost:8888", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
|
||||||
- name: ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
|
- name: /usr/local/sbin/ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
|
||||||
- runas: ipfs
|
- runas: ipfs
|
||||||
- cwd: /var/lib/ipfs
|
- cwd: /var/lib/ipfs
|
||||||
- watch-in:
|
- watch-in:
|
||||||
|
@ -3,7 +3,7 @@ ipfs:
|
|||||||
enabled: true
|
enabled: true
|
||||||
install_dir: /usr/local/apps
|
install_dir: /usr/local/apps
|
||||||
release_dir: /usr/local/apps/releases
|
release_dir: /usr/local/apps/releases
|
||||||
mirror: https://dl.google.com/go/
|
mirror: "https://github.com/ipfs/go-ipfs/releases/download"
|
||||||
version: 1.15.5
|
version: 0.7.0
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
ipfs-service-file:
|
ipfs-service-file:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/systemd/system/ipfs.service
|
- name: /etc/systemd/system/ipfs.service
|
||||||
- source: salt://ipfs/ipfs.service
|
- source: salt://ipfs/ipfs.service.j2
|
||||||
- watch-in:
|
- watch-in:
|
||||||
- service: ipfs-service
|
- service: ipfs-service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user