From d61a180029e0cfb5c4b035cd3e3d50a03c5a1cb6 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 20 Jul 2022 11:03:45 +0200 Subject: [PATCH] Docker - remove deprecated links - fix #216 --- docker-compose-dev.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 440dcf3a..4eed8d1c 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -12,6 +12,8 @@ services: - POSTGRES_PASSWORD=postgres volumes: - ./data/db:/var/lib/postgresql/data + networks: + - fittrackee-net fittrackee: container_name: fittrackee @@ -24,14 +26,12 @@ services: - fittrackee-db - redis - mail - links: - - fittrackee-db - - redis - - mail volumes: - .:/usr/src/app - ./data/workouts:/usr/src/app/workouts - ./data/uploads:/usr/src/app/uploads + networks: + - fittrackee-net fittrackee_client: container_name: fittrackee_client @@ -57,6 +57,8 @@ services: hostname: redis ports: - "6379:6379" + networks: + - fittrackee-net mail: container_name: fittrackee-mailhog @@ -64,9 +66,14 @@ services: ports: - "1025:1025" - "8025:8025" + networks: + - fittrackee-net selenium: image: selenium/standalone-firefox:latest hostname: selenium privileged: true - shm_size: 2g \ No newline at end of file + shm_size: 2g + +networks: + fittrackee-net: \ No newline at end of file