From 93504393778743dd7b9214bf9674f6e499a9237f Mon Sep 17 00:00:00 2001 From: "Matt H." Date: Wed, 13 Nov 2024 10:18:20 -0500 Subject: [PATCH] Stop using `volumes_from` a data container --- docker-compose.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dab1e4e..12649d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,4 @@ services: - data: - image: silintl/data-volume:latest - volumes: - - ./application:/data - base: build: . image: silintl/developer-portal:local @@ -41,8 +36,8 @@ services: image: silintl/developer-portal:local depends_on: - base - volumes_from: - - data + volumes: + - ./application:/data ports: - "80:80" links: @@ -57,8 +52,8 @@ services: image: silintl/developer-portal:local depends_on: - base - volumes_from: - - data + volumes: + - ./application:/data working_dir: /data command: composer install --no-scripts @@ -66,8 +61,8 @@ services: image: silintl/developer-portal:local depends_on: - base - volumes_from: - - data + volumes: + - ./application:/data working_dir: /data command: bash -c "composer update --no-scripts; composer show --direct > direct-dependencies.txt" @@ -75,8 +70,8 @@ services: image: silintl/developer-portal:local depends_on: - base - volumes_from: - - data + volumes: + - ./application:/data links: - db env_file: @@ -89,8 +84,8 @@ services: image: silintl/developer-portal:local depends_on: - base - volumes_from: - - data + volumes: + - ./application:/data links: - testdb env_file: @@ -106,8 +101,8 @@ services: image: silintl/developer-portal:local depends_on: - base - volumes_from: - - data + volumes: + - ./application:/data links: - testdb - proxy:apiaxle.api.proxy