docker-compose.yml
· 453 B · YAML
Raw
services:
madblog:
image: quay.io/blacklight/madblog
ports:
- "8000:8000"
volumes:
# Base data directory
# Prepare the volumes with:
# mkdir -p data/markdown
# mkdir -p config
# Your configuration will be under ./config/config.yaml
# Your posts will be under ./data/markdown
- ./data:/data
- ./config:/etc/madblog
| 1 | services: |
| 2 | madblog: |
| 3 | image: quay.io/blacklight/madblog |
| 4 | ports: |
| 5 | - "8000:8000" |
| 6 | volumes: |
| 7 | # Base data directory |
| 8 | # Prepare the volumes with: |
| 9 | # mkdir -p data/markdown |
| 10 | # mkdir -p config |
| 11 | # Your configuration will be under ./config/config.yaml |
| 12 | # Your posts will be under ./data/markdown |
| 13 | - ./data:/data |
| 14 | - ./config:/etc/madblog |