diff --git a/.gitignore b/.gitignore index e69de29..b91faf6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +**/notify/ +**/TimeService/ +.idea \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index a78bd5e..2315394 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,10 @@ MAINTAINER -=:dAs:=- RUN apk add --no-cache --upgrade bash RUN mkdir /app -# If applications are need to be accomadated in the container directly - uncomment next 3 rows +# If applications need to be accomadated in the container directly - uncomment next 3 rows #ADD ./data/app/launch.sh /app #RUN chmod +x /app/launch.sh #ADD ./apps/ /app -# otherwice applications are will be in mounted directory ./data/app:/app +# otherwice applications will be in mounted directory ./data/app:/app WORKDIR /app CMD [ "./launch.sh" ] diff --git a/README.md b/README.md index e69de29..f8ac78b 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,15 @@ +## Das JRE Starter +### _Java JRE to launch java applications in Docker_ + +[![Docker](https://img.shields.io/badge/Docker-project-blue)](https://www.docker.com/) + +### 📌 Using +- Put applications into `./data/app` folder to use Docker's mounted applications to be launched +- or Put applications into `./apps` folder to use launched applications directly in the container4 in the case uncomment rows in `./Dockerfile` +- **Do not forget** to make or correct `start.sh` file in each of subdirectories in application's dir. +- Launch a Docker +```shell +docker compose up -d +``` + +###### _Made by -=:dAs:=-_ \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 58d9cae..229005b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,7 +5,7 @@ services: restart: "unless-stopped" user: "1000" ports: - - "53748:53748" - - "26937:26937" + - "aaa:aaa" + - "bbb:bbb" volumes: - ./data/app:/app