Skip to content

Commit

Permalink
Adding docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoApp committed Dec 9, 2024
1 parent e74c9c7 commit 367f687
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
services:
mongo:
image: mongo:latest
container_name: mongo
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: wilco_user
MONGO_INITDB_ROOT_PASSWORD: wilco_password

webhook:
container_name: webhook
build:
context: ./webhook
dockerfile: Dockerfile
ports:
- "5000:80"
environment:
ASPNETCORE_ENVIRONMENT: Development
FORGE_CLIENT_ID: client_id
FORGE_CLIENT_SECRET: client_secret
FORGE_CALLBACK_URL: http://${CODESPACE_NAME}-5000.preview.app.github.dev/api/forge/callback/oauth
FORGE_WEBHOOK_URL: http://${CODESPACE_NAME}-5000.preview.app.github.dev/api/forge/callback/webhook
OAUTH_DATABASE: mongodb://wilco_user:wilco_password@mongo:27017/webhook?authSource=admin
depends_on:
- mongo

0 comments on commit 367f687

Please sign in to comment.