Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gorillati/mkdocs_dk
Contenedor de mkdocs
https://github.com/gorillati/mkdocs_dk
docker mkdocs nginx-docker
Last synced: 21 days ago
JSON representation
Contenedor de mkdocs
- Host: GitHub
- URL: https://github.com/gorillati/mkdocs_dk
- Owner: GorillaTi
- Created: 2024-06-25T14:54:51.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T18:07:25.000Z (5 months ago)
- Last Synced: 2024-12-18T20:14:07.477Z (21 days ago)
- Topics: docker, mkdocs, nginx-docker
- Language: Dockerfile
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Docker Pulls](https://img.shields.io/docker/pulls/ecespedes/mkdocs)![Docker Image Version (tag)](https://img.shields.io/docker/v/ecespedes/mkdocs/latest)
# MkDocs en Docker
## Características
Imagen creada con:
- Python 3.9
- MkDocs 1.6.0
- MkDocks-Material 9.5.27
## Iniciar el Servicio
### Con docker run
```bash
docker run --rm -it -p 8000:8000 -v .:/usr/src/app ecespedes/mkdocs:1.0.0 bash
```### Con docker-compose
```docker
name: mkdocs
services:
mkdoc:
image: ecespedes/mkdocs:1.0.0
container_name: mkdocs
stdin_open: true
tty: true
ports:
- 8000:8000
volumes:
- .:/usr/src/app
restart: always
```#### Ingresar al contenedor
```bash
docker exec -it mkdoc bash
```## Comandados
### Crear nuevo proyecto
```bash
mkdock new [nombre_proyecto]
```### Iniciar el servidor para desarrollo
```bash
mkdocs serve -a 0.0.0.0:8000
```### Exportar a formato para web-server
```bash
mkdocs build
```## Temas y Plugins
Para incluir mas temas y/o plugins editar el archivo `requirements.txt`
puede obtener nuevos temas en:
[Temas](https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
[Plugins](https://github.com/mkdocs/catalog)
---
## Sitios oficiales
[MkDocs](https://www.mkdocs.org)
[MkDocs-Material](https://github.com/squidfunk/mkdocs-material)
[Cómo utilizar Markdown para escribir documentación | Adobe Experience Cloud](https://experienceleague.adobe.com/es/docs/contributor/contributor-guide/writing-essentials/markdown)