mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
Merge pull request #8 from anyproto/added-commands-for-win
Update README.md
This commit is contained in:
commit
0c443b2d91
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -8,9 +8,19 @@ Self-host for any-sync, designed for review and testing purposes.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
* start stand - at the first run the directories `etc/` of configuration files and `storage/` for data storage will be generated:
|
* start stand - at the first run the directories `etc/` of configuration files and `storage/` for data storage will be generated:
|
||||||
|
|
||||||
|
For Linux, MacOS and other nix* systems:
|
||||||
```
|
```
|
||||||
make start
|
make start
|
||||||
```
|
```
|
||||||
|
For Windows (Run this in PowerShell, not cmd.exe):
|
||||||
|
```
|
||||||
|
# Generate config
|
||||||
|
docker build -t generateconfig -f Dockerfile-generateconfig .
|
||||||
|
docker run --rm -v ${PWD}/etc:/opt/processing/etc --name any-sync-generator generateconfig
|
||||||
|
# Run containers
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
* stop stand:
|
* stop stand:
|
||||||
```
|
```
|
||||||
make stop
|
make stop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue