Skip to content

Commit

Permalink
Fix issues with Docker Compose V2
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhellstrom committed Sep 4, 2024
1 parent 16870aa commit 9c0b41a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 17 deletions.
1 change: 0 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ RUN apt-get update && apt-get -y upgrade && \
openjdk-11-jre \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils \
libzmq3-dev \
libcurl4-openssl-dev \
libssl-dev \
Expand Down
49 changes: 33 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: '2'
services:
base:
image: "${BASE}:${TAG}"
image: "${BASE}"
build:
context: base
dockerfile: Dockerfile
Expand All @@ -9,62 +10,78 @@ services:
ports:
- "8888:8888"
base-gitpod:
image: "${PREFIX}-base-gitpod:${TAG}"
image: "${PREFIX}-base-gitpod"
build:
context: gitpod
dockerfile: Dockerfile
args:
BASE: "${BASE}:${TAG}"
BASE: "${BASE}"
depends_on:
- base
neo4j:
image: "${PREFIX}-neo4j:${TAG}"
image: "${PREFIX}-neo4j"
build:
context: neo4j
dockerfile: Dockerfile
args:
BASE: "${BASE}:${TAG}"
BASE: "${BASE}"
depends_on:
- base
ports:
- "7473:7373"
- "7474:7474"
- "7687:7686"
pytorch:
image: "${PREFIX}-pytorch:${TAG}"
image: "${PREFIX}-pytorch"
build:
context: pytorch
dockerfile: Dockerfile
args:
BASE: "${BASE}:${TAG}"
BASE: "${BASE}"
depends_on:
- base
pytorch-gitpod:
image: "${PREFIX}-pytorch-gitpod:${TAG}"
image: "${PREFIX}-pytorch-gitpod"
build:
context: gitpod
dockerfile: Dockerfile
args:
BASE: "${PREFIX}-pytorch:${TAG}"
BASE: "${PREFIX}-pytorch"
depends_on:
- base
quantum:
image: "${PREFIX}-quantum:${TAG}"
build:
context: quantum
dockerfile: Dockerfile
args:
BASE: "${BASE}:${TAG}"
BASE: "${BASE}"
depends_on:
- base
quantum-gitpod:
image: "${PREFIX}-quantum-gitpod:${TAG}"
image: "${PREFIX}-quantum-gitpod"
build:
context: gitpod
dockerfile: Dockerfile
args:
BASE: "${PREFIX}-quantum:${TAG}"
BASE: "${PREFIX}-quantum"
depends_on:
- base
geo:
image: "${PREFIX}-geo:${TAG}"
image: "${PREFIX}-geo"
build:
context: geo
dockerfile: Dockerfile
args:
BASE: "${BASE}:${TAG}"
BASE: "${BASE}"
depends_on:
- base
geo-gitpod:
image: "${PREFIX}-geo-gitpod:${TAG}"
image: "${PREFIX}-geo-gitpod"
build:
context: gitpod
dockerfile: Dockerfile
args:
BASE: "${PREFIX}-geo:${TAG}"
BASE: "${PREFIX}-geo"
depends_on:
- base

0 comments on commit 9c0b41a

Please sign in to comment.