2022-06-01 20:37:02 +00:00
# Umbraco CMS Docker compose file
This sample project will start up the [Umbraco CMS ](https://github.com/umbraco/Umbraco-CMS/ ) in a Docker container, with an attached database container running SQL Server.
2022-06-02 00:06:07 +00:00
Project structure:
```
.
├── app
│ ├── umbracocms
| │ ├── Dockerfile
| | └── ...
│ └── umbraco.sln
└── compose.yaml
```
[_compose.yaml_ ](compose.yaml )
```
services:
web:
build: app
ports:
- 80:80
db:
# mssql server image isn't available for arm64 architecture, so we use azure-sql instead
image: mcr.microsoft.com/azure-sql-edge:1.0.4
# If you really want to use MS SQL Server, uncomment the following line
#image: mcr.microsoft.com/mssql/server
...
```
2022-06-01 21:25:47 +00:00
2022-06-01 23:32:35 +00:00
## Credentials
hello@umbraco.com
1234567890
2022-06-01 21:25:47 +00:00
## crap below
2022-06-01 23:44:23 +00:00
docker build --tag=umbracocms .\umbracocms
2022-06-01 21:25:47 +00:00
2022-06-01 23:44:23 +00:00
docker run --name umbracocms -p 8000:80 -v umbraco-media:/app/wwwroot/media -v umbraco-logs:/app/umbraco/Logs -e -d umbracocms
2022-06-01 21:25:47 +00:00
2022-06-01 23:44:23 +00:00
docker run --name umbraco -p 8000:80 -d umbracodotnet