User Tools

Site Tools


tanszek:oktatas:informacios_rendszerek_integralasa:wildfly_in_docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tanszek:oktatas:informacios_rendszerek_integralasa:wildfly_in_docker [2023/05/04 11:46] kneheztanszek:oktatas:informacios_rendszerek_integralasa:wildfly_in_docker [2023/05/04 12:03] (current) knehez
Line 84: Line 84:
 EXAMPLE_FOLDER=helloworld EXAMPLE_FOLDER=helloworld
 </code> </code>
 +
 +Készítsünk egy Dockerfile-t az alábbi tartalommal:
 +
 +<code>
 +FROM quay.io/wildfly/wildfly
 +ADD ./$EXAMPLE_FOLDER/target/$EXAMPLE_FOLDER.war /opt/jboss/wildfly/standalone/deployments
 +</code>
 +
  
 A //docker-compose.yml// az alábbi lesz: A //docker-compose.yml// az alábbi lesz:
Line 98: Line 106:
     wildfly:     wildfly:
         build: .         build: .
-        volumes+        environment
-          ./${EXAMPLE_FOLDER}/target/${EXAMPLE_FOLDER}.war:/opt/jboss/wildfly/standalone/deployments/${EXAMPLE_FOLDER}.war+            "EXAMPLE_FOLDER=helloworld"
         ports:         ports:
           - 8080:8080           - 8080:8080
         depends_on:         depends_on:
           - compiler           - compiler
-                  +               
 </code> </code>
  
tanszek/oktatas/informacios_rendszerek_integralasa/wildfly_in_docker.1683200785.txt.gz · Last modified: 2023/05/04 11:46 by knehez