CT-Docs🔗
Kasutusel Alpine mall, et oleks võimalikult resurssi kokkuhoidev:
Alpine basic setup
Doc pooleli ja lisaks olen kolimas Material for MkDocs pealt Zensical peale kuna MkDocs paneb hullu...
Material loojate blogi - What MkDocs 2.0 means for your documentation projects
Seadsitus🔗
Setup muidu väga lihtne, lihtsalt, ainuke asi on conf faili soovitud funktsioonide lisamine.
Zensical compose fail
---
services:
zensical:
build:
context: .
dockerfile: Dockerfile.zensical
container_name: zensical
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- .:/docs
command: serve -a 0.0.0.0:8000
watchtower:
image: nickfedor/watchtower:latest
container_name: docs-watchtower
restart: unless-stopped
environment:
- TZ=Europe/Tallinn
# Mount the docker socket so Watchtower can interact with the Docker API
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Check for updates every 24 hours (86400 seconds)
# The command below tells Watchtower to only update containers
# that have the "com.centurylinklabs.watchtower.enable=true" label.
command: --interval 86400 --label-enable --cleanup