From: Chris Jones Date: Sun, 21 Jan 2024 23:51:47 +0000 (-0500) Subject: Adding docker compose. Updating .gitignore X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/7e386958a0a66ad5ed41be9abb88fc34ad11a6da Adding docker compose. Updating .gitignore --- diff --git a/.gitignore b/.gitignore index 5b8b7a9..c310ebd 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,7 @@ build dist/* -*log \ No newline at end of file +*log + +# Ignore the bind mounted config directory +config/* diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a300225 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +services: + mobius-hotline-server: + build: . + ports: + - "5500:5500" + - "5501:5501" + # If you intend to bind mount the config directory run + # cp -r cmd/mobius-hotline-server/mobius/config ./config + # first. + # volumes: + # - ./config:/usr/local/var/mobius/config