This guide will help you quickly set up and run a multi-container application using Docker Compose. The setup includes the following services:
- rosetta-app (Port: 8080)
- rosetta-db (PostgreSQL)
- mysql (Port: 3306)
- postgres (PostgreSQL) (Port: 5432)
- mssql (SQL Server) (Port: 1433)
- cdap (Port: 11011)
- cdap-marketplace (Port: 5000)
- jupyter (Port: 10000)
- Docker installed on your machine
- Docker Compose installed on your machine
Ensure you have the docker-compose.yml
file in your working directory.
Open a terminal, navigate to the directory containing the docker-compose.yml
file, and run:
docker-compose up -d
- rosetta-app: http://localhost:8080
- rosetta-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
- cdap-marketplace: http://localhost:5000
- jupyter: http://localhost:10000
Here are the default usernames and passwords for each service:
-
rosetta-app
- Environment variables set in
docker-compose.yml
- Username:
admin
- Password:
admin
- Environment variables set in
-
rosetta-db (PostgreSQL)
- Username:
postgres
- Password:
123456
- Database:
rosetta
- Username:
-
mysql
- Default credentials as per the
restsql/mysql-sakila
image - Username:
root
- Password:
sakila
- Default credentials as per the
-
postgres (PostgreSQL)
- Username:
postgres
- Password:
sakila
- Username:
-
mssql (SQL Server)
- Username:
sa
- Password:
123abcD!
- Username:
-
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.
To stop all running containers, execute:
docker-compose down