-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add devContainer #40
Merged
jleach
merged 9 commits into
openwallet-foundation:main
from
fullboar:feat/dev-container
Jan 22, 2025
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f441d73
feat: add dev container
jleach 7d59d4d
fix: ignore merge artifacts
jleach fe5cf6d
chore: cleanup
jleach 230c1dd
chore: biome cleanup
jleach cd199d9
Update .devcontainer/docker-compose.yml
jleach a94d348
chore: fix vscode plugins
jleach 3f50f18
Merge branch 'feat/dev-container' of github.com:fullboar/didcomm-medi…
jleach 04736f6
chore: cleanup
jleach e2aaf5d
chore: cleanup
jleach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,19 @@ | ||
{ | ||
"name": "Node.js", | ||
"dockerComposeFile": ["docker-compose.yml"], | ||
"service": "mediator", | ||
"remoteUser": "node", | ||
"workspaceFolder": "/work", | ||
"containerEnv": { | ||
"COREPACK_ENABLE_STRICT": "1" | ||
}, | ||
"postCreateCommand": "sudo chown node node_modules && sudo sudo corepack enable && yes | corepack prepare pnpm --activate && yes | pnpm install --frozen-lockfile", | ||
"features": { | ||
"ghcr.io/jckimble/devcontainer-features/ngrok:3": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": ["github.copilot", "github.copilot-chat", "ms-azuretools.vscode-docker"] | ||
} | ||
} | ||
} |
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,34 @@ | ||
version: '3.9' | ||
|
||
networks: | ||
local_network: | ||
jleach marked this conversation as resolved.
Show resolved
Hide resolved
|
||
name: local_network | ||
volumes: | ||
postgres-data: | ||
|
||
|
||
services: | ||
postgres: | ||
image: postgres:13 | ||
env_file: | ||
- ../.env | ||
volumes: | ||
- postgres-data:/var/lib/postgresql/data | ||
networks: | ||
- local_network | ||
|
||
mediator: | ||
image: mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye | ||
working_dir: /work | ||
volumes: | ||
- ../:/work | ||
- /work/node_modules | ||
ports: | ||
- '3110:3110' | ||
tty: true | ||
networks: | ||
- local_network | ||
env_file: | ||
- ../.env | ||
environment: | ||
- POSTGRES_HOST=postgres |
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 |
---|---|---|
@@ -1,8 +1,15 @@ | ||
POSTGRES_USER= | ||
POSTGRES_PASSWORD= | ||
POSTGRES_HOST= | ||
POSTGRES_ADMIN_USER= | ||
POSTGRES_ADMIN_PASSWORD= | ||
# Agent | ||
AGENT_ENDPOINTS='https://example.ca,wss://example.ca' | ||
USE_PUSH_NOTIFICATIONS='false' | ||
NOTIFICATION_WEBHOOK_URL= | ||
|
||
# Database | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=85a52c9283b0 | ||
POSTGRES_ADMIN_USER=postgres | ||
POSTGRES_ADMIN_PASSWORD=85a52c9283b0 | ||
|
||
# Wallet | ||
WALLET_KEY=a67d8724cb01c7c0b5d92f01fb052885 | ||
WALLET_NAME=mediator-dev # Will be database name. | ||
|
||
USE_PUSH_NOTIFICATIONS='true' | ||
NOTIFICATION_WEBHOOK_URL= |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ build | |
node_modules | ||
.env | ||
.env.local | ||
.pnpm-store/ | ||
.pnpm-store/ | ||
*.orig |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The copilot and copilot-chat seem more personal than related this project?