-
Notifications
You must be signed in to change notification settings - Fork 0
modified: docker-compose to include more services #1
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
Open
jetroni
wants to merge
2
commits into
main
Choose a base branch
from
enhancement/update_docker_compose_readme
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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 hidden or 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,2 +1,84 @@ | ||
# proedms-docker | ||
Docker files for ProEDMS | ||
# Quick Start Guide for Docker Compose Setup | ||
|
||
## Overview | ||
This guide will help you quickly set up and run a multi-container application using Docker Compose. The setup includes the following services: | ||
|
||
- **proedms-app** (Port: 8080) | ||
- **proedms-db (PostgreSQL)** | ||
- **mysql** (Port: 3306) | ||
- **postgres (PostgreSQL)** (Port: 5432) | ||
- **mssql (SQL Server)** (Port: 1433) | ||
- **cdap** (Port: 11011) | ||
- **cdap-marketplace** (Port: 5000) | ||
- **jupyter** (Port: 10000) | ||
|
||
## Prerequisites | ||
- Docker installed on your machine | ||
- Docker Compose installed on your machine | ||
|
||
## Step-by-Step Instructions | ||
|
||
### Clone the Repository or Download the `docker-compose.yml` File ### | ||
|
||
Ensure you have the `docker-compose.yml` file in your working directory. | ||
|
||
### Run Docker Compose ### | ||
|
||
Open a terminal, navigate to the directory containing the `docker-compose.yml` file, and run: | ||
```bash | ||
docker-compose up -d | ||
``` | ||
|
||
### Access the Services ### | ||
|
||
- **proedms-app**: [http://localhost:8080](http://localhost:8080) | ||
- **proedms-db (PostgreSQL)**: Accessible on port 5432 | ||
- **mysql**: Accessible on port 3306 | ||
- **postgres (PostgreSQL)**: Accessible on port 5432 | ||
- **mssql (SQL Server)**: Accessible on port 1433 | ||
- **cdap**: [http://localhost:11011](http://localhost:11011) | ||
- **cdap-marketplace**: [http://localhost:5000](http://localhost:5000) | ||
- **jupyter**: [http://localhost:10000](http://localhost:10000) | ||
|
||
### Default Credentials ### | ||
|
||
Here are the default usernames and passwords for each service: | ||
|
||
- **proedms-app** | ||
- Environment variables set in `docker-compose.yml` | ||
- Username: `admin` | ||
- Password: `admin` | ||
|
||
- **proedms-db (PostgreSQL)** | ||
- Username: `postgres` | ||
- Password: `123456` | ||
- Database: `proedms` | ||
|
||
- **mysql** | ||
- Default credentials as per the `restsql/mysql-sakila` image | ||
- Username: `root` | ||
- Password: `sakila` | ||
|
||
- **postgres (PostgreSQL)** | ||
- Username: `postgres` | ||
- Password: `sakila` | ||
|
||
- **mssql (SQL Server)** | ||
- Username: `sa` | ||
- Password: `123abcD!` | ||
|
||
- **cdap** | ||
- No default credentials required for the sandbox environment | ||
|
||
- **cdap-marketplace** | ||
- No default credentials required | ||
|
||
- **jupyter** | ||
- Token: When you start the container, a token is generated. Use the URL displayed in the terminal to access Jupyter Notebook. | ||
|
||
### Stopping the Containers ### | ||
|
||
To stop all running containers, execute: | ||
```bash | ||
docker-compose down | ||
``` |
This file contains hidden or 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
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.
can we change this and it references to rosetta-app