You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
465 B
26 lines
465 B
Zeronet in Docker container.
|
|
|
|
# Build & Run
|
|
|
|
```
|
|
docker build -t andrey01/zeronet .
|
|
docker-compose run --rm --service-ports zeronet
|
|
```
|
|
|
|
# Access
|
|
|
|
- http://127.0.0.1:43110
|
|
|
|
# Backing up the data
|
|
|
|
The following command will create a backup of your ``zeronet_data`` volume in your current directory as ``zeronet_data.tar`` file:
|
|
|
|
```
|
|
docker run \
|
|
--rm \
|
|
-v zeronet_data:/data:ro \
|
|
-v $(pwd):/export \
|
|
alpine:3.7 \
|
|
tar cvf /export/zeronet_data.tar /data
|
|
```
|