Initial
This commit is contained in:
parent
1889fb657d
commit
1835546049
3
.gitignore
vendored
3
.gitignore
vendored
@ -0,0 +1,3 @@
|
|||||||
|
**/notify/
|
||||||
|
**/TimeService/
|
||||||
|
.idea
|
||||||
@ -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" ]
|
||||||
|
|||||||
15
README.md
15
README.md
@ -0,0 +1,15 @@
|
|||||||
|
## Das JRE Starter
|
||||||
|
### _Java JRE to launch java applications in Docker_
|
||||||
|
|
||||||
|
[](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:=-_
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user