File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 <java .version>17</java .version>
2020 </properties >
2121
22- <pluginRepositories >
22+ <!-- < pluginRepositories>
2323 <pluginRepository>
2424 <id>jitpack.io</id>
2525 <url>https://jitpack.io</url>
2626 </pluginRepository>
27- </pluginRepositories >
27+ </pluginRepositories> -->
2828
2929 <dependencies >
3030 <!-- spring boot -->
225225
226226 <build >
227227 <plugins >
228- <plugin >
228+ <!-- < plugin>
229229 <groupId>com.github.throyer</groupId>
230230 <artifactId>migration-maven-plugin</artifactId>
231231 <version>1.2.7</version>
232- </plugin >
232+ </plugin> -->
233233 <plugin >
234234 <groupId >org.springframework.boot</groupId >
235235 <artifactId >spring-boot-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 1+ if [ -z " $1 " ]; then
2+ echo " invalid argument"
3+ return
4+ fi
5+
6+ if [ $1 = " up" ]; then
7+ docker-compose -p example-api-development -f ./docker/docker-compose.dev.yml --env-file ./docker/.env up -d --force-recreate
8+ return
9+ fi
10+
11+ if [ $1 = " down" ]; then
12+ docker-compose -p example-api-development -f ./docker/docker-compose.dev.yml down
13+ return
14+ fi
15+
16+ echo " invalid argument"
Original file line number Diff line number Diff line change 1+ if [ -z " $1 " ]; then
2+ echo " invalid argument"
3+ return
4+ fi
5+
6+ if [ $1 = " up" ]; then
7+ docker-compose -p example-api -f ./docker/docker-compose.prod.yml --env-file ./docker/.env up -d --build
8+ return
9+ fi
10+
11+ if [ $1 = " down" ]; then
12+ docker-compose -p example-api -f ./docker/docker-compose.prod.yml down
13+ return
14+ fi
15+
16+ echo " invalid argument"
You can’t perform that action at this time.
0 commit comments