From 6a2d960dd03c6f521db79209facd5d9c1eaa36ac Mon Sep 17 00:00:00 2001 From: piair Date: Tue, 27 Feb 2024 15:31:35 +0100 Subject: [PATCH] bump version. Added docker compose --- build.sh | 2 +- docker-compose.yml | 18 ++++++++++++++++++ version | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 docker-compose.yml diff --git a/build.sh b/build.sh index 0c40ec3..4d2ee22 100755 --- a/build.sh +++ b/build.sh @@ -1 +1 @@ -sudo docker build --no-cache --network host -t msrewards . && sudo docker run -d --restart unless-stopped -p 1234:1234 -ti --shm-size=2gb --name MsRewards msrewards +sudo docker build --no-cache --network host -t msrewards . && sudo docker run -d --restart unless-stopped -p 1234:1234 -p 2345:2345 -ti --shm-size=2gb --name MsRewards msrewards diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..34e9f3c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.8' + +services: + msrewards: + build: + context: . + dockerfile: Dockerfile + # optional if you have Dockerfile in the same directory + # arguments: + # - ARG_NAME=value # If you have build arguments + image: msrewards + restart: unless-stopped + ports: + - "1234:1234" + - "2345:2345" + shm_size: 2gb + volumes: + - "./:/app" # Mount the current directory to /app inside the container \ No newline at end of file diff --git a/version b/version index 7e5a2cf..cc73cfb 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.8.9 +v6.8.10