ipfs-ubuntu-mirror/README.md

43 lines
874 B
Markdown
Raw Normal View History

2018-10-01 21:01:22 +00:00
# ipfs-ubuntu-mirror
2018-10-01 21:05:32 +00:00
based on sync_mirror.sh from JáquerEspeis
`docker run -d sneak/ipfs-ubuntu-mirror`
or
2018-10-01 22:12:11 +00:00
(image uses /var/lib/ubuntumirror and /var/lib/ipfs)
2018-10-01 21:05:32 +00:00
```
docker run \
2018-10-01 22:12:11 +00:00
-v /host/dir/path/to/mirror:/var/lib/ubuntumirror \
-v /host/dir/path/to/ipfsrepo:/var/lib/ipfs \
2018-10-01 21:05:32 +00:00
-d sneak/ipfs-ubuntu-mirror
```
2018-10-02 03:37:47 +00:00
# requires
requires apt-transport-ipfs to use:
https://github.com/JaquerEspeis/apt-transport-ipfs
# see also
best-effort usually-up non-ha ipns pointer to ubuntu mirror:
`ipfs:/ipns/Qme4tKNduvAgQKN6nKjyH7KjyMdJwyPHfeVMp2EUS6b3J1`
viz:
```
NS=Qme4tKNduvAgQKN6nKjyH7KjyMdJwyPHfeVMp2EUS6b3J1
2018-10-02 03:44:38 +00:00
echo "deb ipfs:/ipns/$NS $(lsb_release -cs) main restricted universe multiverse" > /etc/apt/sources.list
2018-10-02 03:37:47 +00:00
```
2018-10-02 03:44:38 +00:00
(presently only supports xenial and bionic amd64)
2018-10-01 21:05:32 +00:00
# maintainer
Jeffrey Paul <sneak@sneak.berlin>
`5539AD00DE4C42F3AFE11575052443F4DF2A55C2`