fabio revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
docker-compose.yml
| @@ -2,7 +2,7 @@ services: | |||
| 2 | 2 | madblog: | |
| 3 | 3 | image: quay.io/blacklight/madblog | |
| 4 | 4 | ports: | |
| 5 | - | - "8000:8000" | |
| 5 | + | - "127.0.0.1:8000:8000" | |
| 6 | 6 | volumes: | |
| 7 | 7 | # Base data directory | |
| 8 | 8 | # Prepare the volumes with: | |
fabio revised this gist . Go to revision
1 file changed, 14 insertions
docker-compose.yml(file created)
| @@ -0,0 +1,14 @@ | |||
| 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 | |