Commit 39134ee Bernd Ritter
committed
1 parent 64a2ee9 commit 39134ee Copy full SHA for 39134ee
File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ up :
2
+ docker compose -f doc/docker-compose.yml up -d
3
+
4
+ down :
5
+ docker compose -f doc/docker-compose.yml down
6
+
7
+ logs :
8
+ docker compose -f doc/docker-compose.yml logs -f
9
+
10
+ build :
11
+ docker run -it --rm -u ubuntu -v ~ /.m2:/home/ubuntu/.m2 -v.:/opt/app -e MAVEN_CONFIG=/home/ubuntu/.m2 -w /opt/app/ maven:3-eclipse-temurin-21 mvn clean package
12
+
13
+ restart :
14
+ docker compose -f doc/docker-compose.yml restart app
15
+
16
+ open :
17
+ xdg-open http://localhost:8080/holarseweb
18
+
19
+ status :
20
+ docker compose -f doc/docker-compose.yml ps
21
+
22
+ shell :
23
+ docker compose -f doc/docker-compose.yml exec -it app /bin/bash
Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ services:
30
30
- holarse-dev
31
31
32
32
app :
33
- image : tomcat:11.0.2 -jdk21-openjdk-slim
33
+ image : tomcat:11-jdk21
34
34
container_name : app
35
35
restart : always
36
36
ports :
37
37
- 8080:8080
38
+ - 9090:9090
38
39
volumes :
39
40
- ' ./tomcat/conf/context.xml:/usr/local/tomcat/conf/context.xml'
40
41
- ' ./tomcat/conf/server.xml:/usr/local/tomcat/conf/server.xml'
@@ -46,6 +47,7 @@ services:
46
47
environment :
47
48
- OCI_ACCESSKEYID=${OCI_ACCESSKEYID}
48
49
- OCI_SECRETKEYID=${OCI_SECRETKEYID}
50
+ - JAVA_OPTS=-Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.host=0.0.0.0 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
49
51
50
52
cache :
51
53
image : memcached:latest
You can’t perform that action at this time.
0 commit comments