mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Moved docker-compose.yml out of readme
This commit is contained in:
parent
92837ca1cb
commit
5532f1da80
2 changed files with 17 additions and 22 deletions
23
README.md
23
README.md
|
|
@ -100,28 +100,7 @@ go get github.com/jesseduffield/lazydocker
|
|||
|
||||
On Windows, replace `$(pwd)` by `%cd%`.
|
||||
|
||||
<details><summary>You can also use docker-compose</summary><p>
|
||||
|
||||
```yml
|
||||
version: '3'
|
||||
services:
|
||||
lazydocker:
|
||||
build:
|
||||
context: https://github.com/jesseduffield/lazydocker.git
|
||||
args:
|
||||
BASE_IMAGE_BUILDER: golang
|
||||
GOARCH: amd64
|
||||
GOARM:
|
||||
image: jesseduffield/lazydocker
|
||||
container_name: lazydocker
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./config:/.config/jesseduffield/lazydocker
|
||||
```
|
||||
|
||||
</p></details>
|
||||
You can also use this [docker-compose.yml](https://github.com/jesseduffield/lazydocker/blob/master/docker-compose.yml)
|
||||
|
||||
For development, you can build the image using:
|
||||
|
||||
|
|
|
|||
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
version: '3'
|
||||
services:
|
||||
lazydocker:
|
||||
build:
|
||||
context: https://github.com/jesseduffield/lazydocker.git
|
||||
args:
|
||||
BASE_IMAGE_BUILDER: golang
|
||||
GOARCH: amd64
|
||||
GOARM:
|
||||
image: jesseduffield/lazydocker
|
||||
container_name: lazydocker
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./config:/.config/jesseduffield/lazydocker
|
||||
Loading…
Add table
Reference in a new issue