From 5532f1da8076d7bfc6f9bfed4a59abc772101dd4 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 6 Jul 2019 14:55:45 +0200 Subject: [PATCH] Moved docker-compose.yml out of readme --- README.md | 23 +---------------------- docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 22 deletions(-) create mode 100644 docker-compose.yml diff --git a/README.md b/README.md index 52c1c12c..9afa22ee 100644 --- a/README.md +++ b/README.md @@ -100,28 +100,7 @@ go get github.com/jesseduffield/lazydocker On Windows, replace `$(pwd)` by `%cd%`. -
You can also use docker-compose

- - ```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 - ``` - -

+ 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: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..a7e23aa1 --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file