Skip to content

Commit

Permalink
Stop using volumes_from a data container
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt committed Nov 13, 2024
1 parent 5495587 commit 9350439
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
services:
data:
image: silintl/data-volume:latest
volumes:
- ./application:/data

base:
build: .
image: silintl/developer-portal:local
Expand Down Expand Up @@ -41,8 +36,8 @@ services:
image: silintl/developer-portal:local
depends_on:
- base
volumes_from:
- data
volumes:
- ./application:/data
ports:
- "80:80"
links:
Expand All @@ -57,26 +52,26 @@ services:
image: silintl/developer-portal:local
depends_on:
- base
volumes_from:
- data
volumes:
- ./application:/data
working_dir: /data
command: composer install --no-scripts

composerupdate:
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"

yiimigrate:
image: silintl/developer-portal:local
depends_on:
- base
volumes_from:
- data
volumes:
- ./application:/data
links:
- db
env_file:
Expand All @@ -89,8 +84,8 @@ services:
image: silintl/developer-portal:local
depends_on:
- base
volumes_from:
- data
volumes:
- ./application:/data
links:
- testdb
env_file:
Expand All @@ -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
Expand Down

0 comments on commit 9350439

Please sign in to comment.