-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First tentative step at setting up multi container codespace
- Loading branch information
1 parent
7b21408
commit 4c1893c
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: "3.8" | ||
|
||
services: | ||
app: | ||
build: | ||
context: .. | ||
image: mcr.microsoft.com/devcontainers/universal:2 | ||
volumes: | ||
- ../..:/workspaces:cached | ||
command: sleep infinity | ||
network_mode: service:mariadb | ||
|
||
mariadb: | ||
image: mariadb:10.11 | ||
environment: | ||
MARIADB_DATABASE: greencheck | ||
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: "true" | ||
restart: unless-stopped | ||
|
||
rabbitmq: | ||
image: rabbitmq:3.11 | ||
hostname: green-rabbit | ||
privileged: true | ||
restart: unless-stopped | ||
|
||
mailhog: | ||
image: mailhog/mailhog | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
echo "I am run to set up the codespace for development" |