Skip to content

Commit

Permalink
The links attribute is no longer needed for services to communicate.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Feb 8, 2025
1 parent c199da2 commit 47c59ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
10 changes: 0 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ services:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
hostname: idp.example.test
stop_signal: RTMIN+3
links:
- ipa:ipa.example.test
cap_add:
- DAC_READ_SEARCH
# tty: true
Expand All @@ -53,10 +51,6 @@ services:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
hostname: www.example.test
stop_signal: RTMIN+3
links:
- ipa:ipa.example.test
- idp:idp.example.test
- app:app.example.test
cap_add:
- DAC_READ_SEARCH
# Uncomment the following if you want to be able to access the
Expand All @@ -73,10 +67,6 @@ services:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
hostname: client.example.test
stop_signal: RTMIN+3
links:
- ipa:ipa.example.test
- idp:idp.example.test
- www:www.example.test
ports:
- "55022:22"
cap_add:
Expand Down
22 changes: 4 additions & 18 deletions docker-compose.yml.www-with-app.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- docker-compose.yml 2025-01-07 13:24:30.383332565 +0100
+++ docker-compose.yml.www-with-app 2025-01-07 13:45:34.152136298 +0100
@@ -34,20 +34,10 @@
--- docker-compose.yml 2025-02-08 21:41:16.170778265 +0100
+++ docker-compose.yml.www-with-app 2025-02-08 21:41:37.944903088 +0100
@@ -32,20 +32,10 @@
cap_add:
- DAC_READ_SEARCH
# tty: true
Expand All @@ -23,21 +23,7 @@
volumes:
- ./www-data:/data:Z
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
@@ -56,7 +46,6 @@
links:
- ipa:ipa.example.test
- idp:idp.example.test
- - app:app.example.test
cap_add:
- DAC_READ_SEARCH
# Uncomment the following if you want to be able to access the
@@ -76,17 +65,8 @@
links:
- ipa:ipa.example.test
- idp:idp.example.test
- - www:www.example.test
+ - wwwapp:www.example.test
ports:
@@ -71,12 +61,3 @@
- "55022:22"
cap_add:
- DAC_READ_SEARCH
Expand Down

0 comments on commit 47c59ce

Please sign in to comment.