aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/docker-compose.yml
diff options
context:
space:
mode:
authorKevin Hoerr <kjhoerr@noreply.cybr.es>2022-08-06 01:44:00 +0000
committerKevin Hoerr <kjhoerr@noreply.cybr.es>2022-08-06 01:44:00 +0000
commit461b1fa053bcc86d06156574ab59fa7000dbf69e (patch)
tree6e0080d057b5015bd92c843481cf45575af462a8 /.devcontainer/docker-compose.yml
parentcdf65b32202746eaffd9e58bf951d1995ab03be3 (diff)
downloadpantry-461b1fa053bcc86d06156574ab59fa7000dbf69e.tar.gz
pantry-461b1fa053bcc86d06156574ab59fa7000dbf69e.tar.bz2
pantry-461b1fa053bcc86d06156574ab59fa7000dbf69e.zip
Quarkus (#2)
Reviewed-on: https://git.submelon.dev/kjhoerr/pantry/pulls/2
Diffstat (limited to '.devcontainer/docker-compose.yml')
-rw-r--r--.devcontainer/docker-compose.yml48
1 files changed, 0 insertions, 48 deletions
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml
deleted file mode 100644
index 447dadc..0000000
--- a/.devcontainer/docker-compose.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-version: '3'
-
-services:
- pantry:
- build:
- context: .
- dockerfile: Dockerfile
- args:
- # Volume directory for hosted files. This directory is created on image build with proper permissions. This is set as an env-var in the Dockerfile
- VARIANT: "11"
-
- # Options
- INSTALL_MAVEN: "true"
- INSTALL_GRADLE: "false"
- NODE_VERSION: "lts/*"
-
- environment:
- MARIADB_HOST: "pantry-db"
-
- volumes:
- - ..:/workspaces/pantry:cached
-
- # Overrides default command so things don't shut down after the process ends.
- command: sleep infinity
-
- # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
- network_mode: service:pantry-db
-
- # Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
- # (Adding the "ports" property to this file will not forward from a Codespace.)
-
- pantry-db:
- image: mariadb:10.7
- restart: unless-stopped
- volumes:
- - pantrydb-data:/var/lib/mysql
-
- environment:
- MARIADB_RANDOM_ROOT_PASSWORD: "true"
- MARIADB_DATABASE: "pantry-db"
- MARIADB_USER: "pantry-user"
- MARIADB_PASSWORD: "i2j9ds0g"
-
- # Add "forwardPorts": ["27017"] to **devcontainer.json** to forward MongoDB locally.
- # (Adding the "ports" property to this file will not forward from a Codespace.)
-
-volumes:
- pantrydb-data: \ No newline at end of file