Last active 1774098992 Unlisted

A simple docker-compose file for Madblog (https://git.fabiomanganiello.com/madblog)

fabio's Avatar fabio revised this gist 1774098991. 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's Avatar fabio revised this gist 1774098868. 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
Newer Older