From 10f1c878bef6c7e287afd8c99c47542e26d443a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Loipf=C3=BChrer?= Date: Sat, 2 Mar 2024 11:16:49 +0100 Subject: [PATCH] chore: remove not recommended (and not needed) docker compose links --- docker-compose.devel.yaml | 13 ------------- docker-compose.prod.yaml | 6 ------ 2 files changed, 19 deletions(-) diff --git a/docker-compose.devel.yaml b/docker-compose.devel.yaml index e1a8ed10..a14a4636 100644 --- a/docker-compose.devel.yaml +++ b/docker-compose.devel.yaml @@ -12,8 +12,6 @@ services: depends_on: postgres: condition: service_healthy - links: - - postgres frontend-dev: build: @@ -23,17 +21,12 @@ services: depends_on: api: condition: service_healthy - links: - - api nginx: image: docker.io/nginx:stable-alpine depends_on: api: condition: service_healthy - links: - - api - - frontend-dev volumes: - "./docker/nginx-dynamic:/etc/nginx/conf.d/default.conf" ports: @@ -55,9 +48,6 @@ services: depends_on: api: condition: service_healthy - links: - - postgres - - "mailhog:mail" cron: build: @@ -72,9 +62,6 @@ services: ABRECHNUNG_EMAIL__HOST: mail ABRECHNUNG_EMAIL__PORT: 1025 ABRECHNUNG_EMAIL__MODE: smtp - links: - - postgres - - "mailhog:mail" postgres: image: docker.io/postgres:14-alpine diff --git a/docker-compose.prod.yaml b/docker-compose.prod.yaml index 4950e65c..cc4e8f72 100644 --- a/docker-compose.prod.yaml +++ b/docker-compose.prod.yaml @@ -10,21 +10,15 @@ services: depends_on: api: condition: service_healthy - links: - - api mailer: extends: file: docker-compose.base.yaml service: mailer image: quay.io/abrechnung/api:latest-release - links: - - api cron: extends: file: docker-compose.base.yaml service: cron image: quay.io/abrechnung/api:latest-release - links: - - api \ No newline at end of file