You need to sign in or sign up before continuing.
Commit 008522cb authored by Mohamad Bashar Desoki's avatar Mohamad Bashar Desoki

fix docker-compose.yml

parent e18f0225
......@@ -9,21 +9,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="ad904d3c-917a-41ec-8997-0c459fd2925c" name="Changes" comment="add haproxy cfg1">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/artifacts/simpleWebApp_jar.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/encodings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Readme.md" beforeDir="false" afterPath="$PROJECT_DIR$/Readme.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/dockerfile" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/artifacts/simpleWebApp_jar/simpleWebApp.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/ds/Main.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/ds/WebServer.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/META-INF/MANIFEST.MF" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/index.html" beforeDir="false" />
<list default="true" id="ad904d3c-917a-41ec-8997-0c459fd2925c" name="Changes" comment="restructure and add docker compose file">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docker-compose.yml" beforeDir="false" afterPath="$PROJECT_DIR$/docker-compose.yml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -99,7 +87,23 @@
<option name="project" value="LOCAL" />
<updated>1740310859230</updated>
</task>
<option name="localTasksCounter" value="4" />
<task id="LOCAL-00004" summary="restructure and add docker compose file">
<option name="closed" value="true" />
<created>1740904552411</created>
<option name="number" value="00004" />
<option name="presentableId" value="LOCAL-00004" />
<option name="project" value="LOCAL" />
<updated>1740904552411</updated>
</task>
<task id="LOCAL-00005" summary="restructure and add docker compose file">
<option name="closed" value="true" />
<created>1740904563355</created>
<option name="number" value="00005" />
<option name="presentableId" value="LOCAL-00005" />
<option name="project" value="LOCAL" />
<updated>1740904563355</updated>
</task>
<option name="localTasksCounter" value="6" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
......@@ -117,6 +121,7 @@
<MESSAGE value="simple web app" />
<MESSAGE value="add haproxy cfg" />
<MESSAGE value="add haproxy cfg1" />
<option name="LAST_COMMIT_MESSAGE" value="add haproxy cfg1" />
<MESSAGE value="restructure and add docker compose file" />
<option name="LAST_COMMIT_MESSAGE" value="restructure and add docker compose file" />
</component>
</project>
\ No newline at end of file
......@@ -2,21 +2,21 @@ version: '3.4'
services:
app1:
build: ./webapp
build: ./Webapp
container_name: app1
command: 9001 "Server 1"
ports:
- "9001:9001"
app2:
build: ./webapp
build: ./Webapp
container_name: app2
command: 9002 "Server 2"
ports:
- "9002:9002"
app3:
build: ./webapp
build: ./Webapp
container_name: app3
command: 9003 "Server 3"
ports:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment