https://github.com/timvisee/docker-compose-mssql
:whale: Docker configuration for an Microsoft SQL server on Linux using docker-compose
https://github.com/timvisee/docker-compose-mssql
Last synced: 8 months ago
JSON representation
:whale: Docker configuration for an Microsoft SQL server on Linux using docker-compose
- Host: GitHub
- URL: https://github.com/timvisee/docker-compose-mssql
- Owner: timvisee
- License: gpl-3.0
- Created: 2017-02-16T13:05:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T18:24:29.000Z (about 1 year ago)
- Last Synced: 2025-03-26T06:11:13.516Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 25
- Watchers: 2
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - timvisee/docker-compose-mssql - :whale: Docker configuration for an Microsoft SQL server on Linux using docker-compose (Shell)
README
# Microsoft SQL server in Docker
Some helpful scripts and configurations to easily get a Microsoft SQL server
instance running in a docker container on Linux.
This project uses Microsoft's docker image for SQL server and uses
docker-compose to easily manage container configurations.
## Requirements
* Linux operating system
* Docker
* Docker compose
## Usage
### Clone repository
Clone the repository to your local machine:
```bash
git clone https://github.com/timvisee/docker-compose-mssql.git
cd docker-compose-mssql
```
### Start the container
* Copy `.env.example` to `.env` and edit the file to your needs.
```bash
cp .env.example .env
```
* Configure password in `.env` file.
```dotenv
# .env file
SA_PASSWORD=Password123(!)Strong
```
* Start the container:
```bash
./start
```
> [!NOTE]
> To stop the container, use the `./stop` script.
> ```bash
> ./stop
> ```
### Log in on the database with your credentials
* User: `sa`
* Password: `Password123(!)Strong` (use the password you set in the `.env` file)
## License
This project is released under the GNU GPL-3.0 license. Check out the [LICENSE](LICENSE) file for more information.