Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeTWC1984 authored Mar 10, 2021
1 parent 68da43d commit 993907c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Docker/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ For actual use:
- for persistant volume you only need to map *data* folder
- to run cronicle "as a service" use *restart=always* option
- you may optionally use *--net=host* parameter if interacting with cronicle nodes on other machines (in this case don't use hostname parameter, it should be the same as your host)
- you can specify secret_key via env variable. CRONICLE_manager=1 will start up cronicle right away (only use on single manager node/cluster)

```bash
docker run -it --hostname manager1 --restart always \
docker run -d --hostname manager1 --restart=always \
-e CRONICLE_manager=1 \
-e CRONICLE_secret_key=123456 \
-p 3017:3012 \
-p 3012:3012 \
-v $HOME/data:/opt/cronicle/data \
cronicle:pwsh manager
cronicle/cronicle:edge manager
```

# Running cronicle in swarm mode (as service)
Expand Down

0 comments on commit 993907c

Please sign in to comment.