Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
Load-Balancer-Docker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohammad.salama
Load-Balancer-Docker
Commits
7c0b4514
Commit
7c0b4514
authored
Mar 13, 2024
by
mohammad.salama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ready just: [docker-compose up] and all is done
parent
c91bc353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
docker-compose.yml
docker-compose.yml
+8
-0
No files found.
docker-compose.yml
View file @
7c0b4514
...
@@ -3,19 +3,27 @@ version: '3'
...
@@ -3,19 +3,27 @@ version: '3'
services
:
services
:
first-greeting
:
first-greeting
:
build
:
context
:
./Server-1
dockerfile
:
Dockerfile
image
:
first-greeter
image
:
first-greeter
ports
:
ports
:
-
"
8001:8001"
-
"
8001:8001"
networks
:
networks
:
-
greeting_network
-
greeting_network
second-greeting
:
second-greeting
:
build
:
context
:
./Server-2
dockerfile
:
Dockerfile
image
:
second-greeter
image
:
second-greeter
ports
:
ports
:
-
"
8002:8002"
-
"
8002:8002"
networks
:
networks
:
-
greeting_network
-
greeting_network
load-balancer
:
load-balancer
:
image
:
haproxy
image
:
haproxy
ports
:
ports
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment