Skip to content

Commit 10f1c87

Browse files
committed
chore: remove not recommended (and not needed) docker compose links
1 parent 17fba1c commit 10f1c87

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

docker-compose.devel.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ services:
1212
depends_on:
1313
postgres:
1414
condition: service_healthy
15-
links:
16-
- postgres
1715

1816
frontend-dev:
1917
build:
@@ -23,17 +21,12 @@ services:
2321
depends_on:
2422
api:
2523
condition: service_healthy
26-
links:
27-
- api
2824

2925
nginx:
3026
image: docker.io/nginx:stable-alpine
3127
depends_on:
3228
api:
3329
condition: service_healthy
34-
links:
35-
- api
36-
- frontend-dev
3730
volumes:
3831
- "./docker/nginx-dynamic:/etc/nginx/conf.d/default.conf"
3932
ports:
@@ -55,9 +48,6 @@ services:
5548
depends_on:
5649
api:
5750
condition: service_healthy
58-
links:
59-
- postgres
60-
- "mailhog:mail"
6151

6252
cron:
6353
build:
@@ -72,9 +62,6 @@ services:
7262
ABRECHNUNG_EMAIL__HOST: mail
7363
ABRECHNUNG_EMAIL__PORT: 1025
7464
ABRECHNUNG_EMAIL__MODE: smtp
75-
links:
76-
- postgres
77-
- "mailhog:mail"
7865

7966
postgres:
8067
image: docker.io/postgres:14-alpine

docker-compose.prod.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,15 @@ services:
1010
depends_on:
1111
api:
1212
condition: service_healthy
13-
links:
14-
- api
1513

1614
mailer:
1715
extends:
1816
file: docker-compose.base.yaml
1917
service: mailer
2018
image: quay.io/abrechnung/api:latest-release
21-
links:
22-
- api
2319

2420
cron:
2521
extends:
2622
file: docker-compose.base.yaml
2723
service: cron
2824
image: quay.io/abrechnung/api:latest-release
29-
links:
30-
- api

0 commit comments

Comments
 (0)