From bddd9d4a1c91b174d00a21f14603459d2469aac3 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Fri, 3 Jun 2022 18:05:31 -0700 Subject: Update Dockerfile and README info --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9597ca3..0a16b2b 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,16 @@ Download a compiled release for your architecture from the Releases page TODO +### Docker + +To run the Mobius server from Docker with a local directory mounted for config and files, follow these steps: + +1. Clone this repo: `git clone https://github.com/jhalter/mobius.git` +2. Copy the config dir somewhere `cp -r cmd/mobius-hotline-server/mobius/config ~/mobius-config` +3. Build the Docker image: `docker build . -t mobius-hotline-server:latest` +4. Run the image: + `docker run --rm -p 5500:5500 -p 5501:5501 -v ~/mobius-config:/usr/local/var/mobius/config mobius-hotline-server:latest` + ### Build from source -- cgit