Compare commits
No commits in common. "03a67c78422a72c43fc40e14f9b8b0b22576e821" and "183554604966bad8c6e77201777acf87b67af177" have entirely different histories.
03a67c7842
...
1835546049
20
README.md
20
README.md
@ -6,28 +6,10 @@
|
|||||||
### 📌 Using
|
### 📌 Using
|
||||||
- Put applications into `./data/app` folder to use Docker's mounted applications to be launched
|
- 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`
|
- 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 [as in example](#StsartExample).
|
- **Do not forget** to make or correct `start.sh` file in each of subdirectories in application's dir.
|
||||||
- Launch a Docker
|
- Launch a Docker
|
||||||
```shell
|
```shell
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
#### start.sh file example<a id='StsartExample' />
|
|
||||||
```shell
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
cd "$SCRIPT_DIR" || exit 127
|
|
||||||
|
|
||||||
JAVA_D_PARAMS="
|
|
||||||
-Dspring.profiles.active=prod
|
|
||||||
-Dlogging.file.name=logs/ServiceName.log
|
|
||||||
"
|
|
||||||
|
|
||||||
java -jar ${JAVA_D_PARAMS} ServiceName.jar &
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
###### _Made by -=:dAs:=-_
|
###### _Made by -=:dAs:=-_
|
||||||
Loading…
x
Reference in New Issue
Block a user