-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Hub Image #37
base: master
Are you sure you want to change the base?
Docker Hub Image #37
Changes from 1 commit
5bec28c
61c8f37
ace0a83
e7e6c44
304ca08
2b7fffd
72319ae
0ed6413
094109b
d924d26
55ccc56
a53db93
6520106
cefdcb4
9d63a99
abb70bd
ef0266c
ff66f68
d848bf1
e6b5d89
2d1207b
98a9f55
19bfd49
6b06312
098ddaf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# armadietto [![Build Status](https://secure.travis-ci.org/remotestorage/armadietto.svg)](http://travis-ci.org/remotestorage/armadietto) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet/semistandard) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/0eaafdf96ebb47a9ac462bcf6a7ccb06)](https://www.codacy.com/app/lesion/armadietto?utm_source=github.com&utm_medium=referral&utm_content=remotestorage/armadietto/&utm_campaign=Badge_Grade) | ||
|
||
> ### :warning: WARNING | ||
> Please do not consider `armadietto` production ready, this project is still | ||
> considered experimental. As with any alpha-stage storage technology, you | ||
> MUST expect that it will eat your data and take precautions against this. You | ||
> SHOULD expect that its APIs and storage schemas will change before it is | ||
> labelled stable. | ||
|
||
## What is this? | ||
|
||
Armadietto is a [RemoteStorage](https://remotestorage.io) server written for Node.js. | ||
|
||
This is a complete rewrite of [reStore](https://github.com/jcoglan/restore). | ||
|
||
It is also available as the | ||
[armadietto](https://www.npmjs.com/package/armadietto) NPM package. | ||
|
||
## Usage | ||
|
||
``` | ||
docker run -d -p 8000:8000 remotestorage/armadietto:latest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Under MacOS 11.6.2, with Docker Desktop 4.4.2, this line alone evokes the error There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Will work once it has been published, but yes, will add info about building. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added in a53db93 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
``` | ||
|
||
The armadietto will run as the armadietto user (UID 6582) in the container. | ||
|
||
## Configuration | ||
|
||
The default configuration file for armadietto can be found in | ||
`/etc/armadietto.conf.json` and contains the following configuration: | ||
|
||
```json | ||
{ | ||
"allow_signup": true, | ||
"storage_path": "/usr/share/armadietto", | ||
"cache_views": true, | ||
"http": { | ||
"host": "0.0.0.0", | ||
"port": 8000 | ||
}, | ||
"https": { | ||
"enable": false, | ||
"force": false, | ||
"port": 4443, | ||
"cert": "/etc/letsencrypt/live/example.com/cert.pem", | ||
"key": "/etc/letsencrypt/live/example.com/privkey.pem" | ||
}, | ||
"basePath": "" | ||
} | ||
``` | ||
|
||
A custom configuration file can be used by mounting it in the container | ||
|
||
``` | ||
docker run -d -v /my/custom/armadietto.conf.json:/etc/armadietto.conf.json:ro -p 8000:8000 remotestorage/armadietto:latest | ||
``` | ||
|
||
A suitable data directory should also be mounted in the container to | ||
ensure data is persisted. | ||
|
||
``` | ||
docker run -d -v /data/armadietto:/usr/share/armadietto -p 8000:8000 remotestorage/armadietto:latest | ||
``` | ||
|
||
*Note:* The folder and its contents must be writable and readable by the UID | ||
6582. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an issue with this PR, but wondering out loud, what is the gate at which we consider Armadietto production ready? I think hard to assess how many production workloads are already running on top of it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question! I think it merits its own issue or forums topic.