Skip to content

Commit

Permalink
add debug config.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jan 20, 2023
1 parent f60c81d commit ceec771
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ dist/

# JetBrains IDE
.idea/
.vscode
*.iml

# Unit test reports
Expand Down
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Attach)",
"request": "attach",
"hostName": "localhost",
"port": "5005"
}
]
}
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ services:
image: public.ecr.aws/ds/websight-cms-ce:luna-2.0.0
ports:
- "8080:8080"
- "5005:5005"
environment:
WS_ADMIN_USERNAME: "wsadmin"
WS_ADMIN_PASSWORD: "wsadmin"
MONGODB_HOST: "mongo"
MONGODB_PORT: 27017
LEASE_CHECK_MODE: "LENIENT"
WS_DEBUG: "true"
volumes:
- cms_logs:/websight/logs
- site_repository:/websight/docroot
Expand Down

0 comments on commit ceec771

Please sign in to comment.