diff --git a/README.md b/README.md index 75fb06a..b8a73a8 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,44 @@ Replace `` with the directory you wish to share. --- -To develop Holesail-docker, clone this repository and run: +To develop Holesail-docker, clone this repository, create docker-compose.yml and run: + +```yaml +services: + holesail: + container_name: holesail + restart: unless-stopped + build: . + environment: + MODE: server + PORT: 25565 + HOST: minecraft + PUBLIC: false + CONNECTOR: very-super-secret + networks: + - holesail + + mc: + image: itzg/minecraft-server + container_name: minecraft + tty: true + stdin_open: true + restart: unless-stopped + ports: + - "25565:25565" + environment: + EULA: "TRUE" + volumes: + - ./data:/data + depends_on: + - holesail + networks: + - holesail + +networks: + holesail: + external: true +``` ```bash docker compose up --build