docs(README): Add docker compose example
All checks were successful
/ pre-commit (push) Successful in 3m20s
All checks were successful
/ pre-commit (push) Successful in 3m20s
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
9d9a0b842e
commit
463e2e703b
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -24,6 +24,8 @@ sudo cp -p bin/* /usr/local/bin/
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
|
### Standalone
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://git.riou.xyz/jriou/coller.git
|
git clone https://git.riou.xyz/jriou/coller.git
|
||||||
cd coller
|
cd coller
|
||||||
|
@ -33,6 +35,20 @@ docker run --rm --name collerd -p 8080:8080 coller:latest
|
||||||
|
|
||||||
Then go to http://localhost:8080 (website).
|
Then go to http://localhost:8080 (website).
|
||||||
|
|
||||||
|
### Compose
|
||||||
|
|
||||||
|
Update the database password in:
|
||||||
|
* [collerd.json](docker/collerd.json)
|
||||||
|
* [db.env](docker/db.env)
|
||||||
|
|
||||||
|
Start the service:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
Then go to http://localhost:8080 (website).
|
||||||
|
|
||||||
## Ansible
|
## Ansible
|
||||||
|
|
||||||
See [ansible-role-coller](https://git.riou.xyz/jriou/ansible-role-coller).
|
See [ansible-role-coller](https://git.riou.xyz/jriou/ansible-role-coller).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue