Skip to content

Commit

Permalink
Merge pull request #212 from SFTtech/milo/remove-docker-compose-links
Browse files Browse the repository at this point in the history
chore: remove not recommended (and not needed) docker compose links
  • Loading branch information
mikonse committed Mar 2, 2024
2 parents ccb3abb + 10f1c87 commit 8906064
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
13 changes: 0 additions & 13 deletions docker-compose.devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ services:
depends_on:
postgres:
condition: service_healthy
links:
- postgres

frontend-dev:
build:
Expand All @@ -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:
Expand All @@ -55,9 +48,6 @@ services:
depends_on:
api:
condition: service_healthy
links:
- postgres
- "mailhog:mail"

cron:
build:
Expand All @@ -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
Expand Down
6 changes: 0 additions & 6 deletions docker-compose.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8906064

Please sign in to comment.