This commit is contained in:
Anry Das 2025-02-23 11:05:01 +02:00
parent 1889fb657d
commit 1835546049
4 changed files with 22 additions and 4 deletions

3
.gitignore vendored
View File

@ -0,0 +1,3 @@
**/notify/
**/TimeService/
.idea

View File

@ -3,10 +3,10 @@ MAINTAINER -=:dAs:=-
RUN apk add --no-cache --upgrade bash RUN apk add --no-cache --upgrade bash
RUN mkdir /app 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 #ADD ./data/app/launch.sh /app
#RUN chmod +x /app/launch.sh #RUN chmod +x /app/launch.sh
#ADD ./apps/ /app #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 WORKDIR /app
CMD [ "./launch.sh" ] CMD [ "./launch.sh" ]

View File

@ -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:=-_

View File

@ -5,7 +5,7 @@ services:
restart: "unless-stopped" restart: "unless-stopped"
user: "1000" user: "1000"
ports: ports:
- "53748:53748" - "aaa:aaa"
- "26937:26937" - "bbb:bbb"
volumes: volumes:
- ./data/app:/app - ./data/app:/app