diff --git a/README.md b/README.md index 38c5980da6d468ef8875ab67b79e29dc17fde2fa..230791e27fa775f529e48b219d51e73171133b87 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,8 @@ and then run it with docker run --rm -it -v target/mainnetdb:/root/mainnetdb iotaledger/goshimmer ``` You may replace `target/mainnetdb` with a custom path to the database folder. + +To start Shimmer in the background, you can also simply use [Docker Compose](https://docs.docker.com/compose/) by running +``` +docker-compose up -d +``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..b5687209da3b41f945d25e48c84ca616aa42e8ff --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +version: "3" + +services: + + goshimmer: + image: iotaledger/goshimmer + container_name: iota_goshimmer + restart: unless-stopped + volumes: + - ./mainnetdb:/root/mainnetdb:rw + ports: + - "14666:14666/tcp" + - "14626:14626/udp" + - "14626:14262/tcp" + command: "-node-disable-plugins statusscreen"